JavaScript Reference/Javascript Properties/XMLDocument
"XMLDocument" Example
<source lang="javascript">
<html> <body> <script> function function1(){
alert(myData.XMLDocument.hasChildNodes);
} </script> <xml id="myData">
<customer> <name>Your Name</name> <address>BC Canada</address> <city>Vancouver</city> </customer>
</xml> <button onclick="function1();">XML Has Child Nodes</button> </body> </html>
</source>
"XMLDocument" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |document <xml> | +----------------+--------------------------------------------------------------+
</source>
"XMLDocument" Syntax and Note
<source lang="javascript">
Note: Read and write property. Returns a reference to an XML document.
Syntax:
document.XMLDocument; document.all.xmlID.XMLDocument;
</source>