# Load XML URL from external file

**URL:** <https://forum.kirupa.com/t/load-xml-url-from-external-file/250027>\
**Category:** Uncategorized\
**Created:** [January 24, 2008, 6:09pm UTC](https://forum.kirupa.com/t/load-xml-url-from-external-file/250027 "2008-01-24T18:09:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhikumar](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@abhikumar](https://forum.kirupa.com/u/abhikumar)\
**Post date:** [January 24, 2008, 6:09pm UTC](https://forum.kirupa.com/t/load-xml-url-from-external-file/250027/1 "2008-01-24T18:09:18Z")

</div>

xmlData = new XML();  
xmlData.ignoreWhite = true;  
xmlData.onLoad = loadXML;  
xmlData.load([http://www.someothersite.com/rss.xml](http://www.someothersite.com/rss.xml));

in this code- is there anyway i can load the URL from an external file?  
Here: xmlData.load(myURL);can “myURL” be loaded from an external source… may be from another XML file which i can keep locally and change the URL when needed.
