'xml' Example
<html> <xml id="myOwnData"> <myData> <firstname>Joe</firstname> <lastname>Yin</lastname> <age>12</age> </myData> </xml> <script> if (myOwnData.readyState == "complete") window.alert ("The XML document is ready."); var oNode = myOwnData.XMLDocument.selectSingleNode("myData/firstname"); alert(oNode.text); </script> </html>