Javascript Reference
Categories: xml

javascript xml src

@March 15, 2008, 1:22 a.m.
srcFirefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a  

Read/Write  

Contains the URL of the external XML document loaded into the data island. To load a new document after the fact, assign a new URL to this property.

 
Example
 
document.getElementById("xmlData").src = "xml/latestResults.xml";
 
Value

Relative or complete URL string.

 
Default

None.


Powered by Linode.