XML code embedded in an HTML page |
Enables integration of XML with HTML page (XML data can be accessed by scripts) |
Contains well-formed XML document within <XML> </XML> tags |
<XML ID="clipXML"> |
<clip> |
<title>The Fish Slapping Dance</title> |
<size unit="KB"</size> |
</clip> |
</XML> |
clipXML.documentElement.childNodes.item(0).text |