Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Updated: November 4, 1998
The XML parser in Microsoft's Internet Explorer 5 exposes an XML object model that allows you to access and manipulate the nodes within an XML document.
For example, when the parser loads and parses a data island, it creates a tree out of the data island. This tree is filled with nodes, each of which can be accessed through script.
For example, if the parser loaded and parsed the data island below, it would create a document object that could be referenced by the data island's ID value (xmlDocument), an object representing the root node, and objects representing the remaining nodes in the tree.
Run the mouse over the following data island to reveal the code needed to access each node.
<XML ID="xmlDocument"> <class> <student studentID="13429"> <name>Jane Smith</name> <GPA>3.8</GPA> </student> </class> </XML>
Sorry! The interactive exercises require Internet Explorer 5 Beta .
Did you find this article useful? Gripes? Compliments? Suggestions for other articles? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.