xml | NN n/a IE 5(Win) DOM n/a | |
The xml object reflects the Microsoft proprietary xml element, creating a so-called XML data island inside an HTML document. |
||
HTML Equivalent | ||
<xml> |
||
Object Model Reference | ||
[window.]document.getElementById("elementID")
|
||
Object-Specific Properties | ||
|
||
Object-Specific Methods | ||
None. |
||
Object-Specific Event Handler Properties | ||
None. |
src | NN n/a IE 5(Win) 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. |
XMLDocument | NN n/a IE 5(Win) DOM n/a |
Read-only | |
This is a reference to the Microsoft XML document object. This object resembles the W3C DOM core document object in many ways, but Microsoft provides a different syntax to read and write data from the object. See http://msdn.microsoft.com/xml/reference/xmldom/start.asp for details. |
|
Example | |
var xmlDoc = document.getElementById("XMLData").XMLDocument; |
|
Value | |
Reference to an MS XML document object. |
|
Default | |
None. |