With IE5.0 or higher versions, XML data can be embedded in an HTML page in the form of a data island.
--------------------------------------------------------------------------------
Embed XML data in an HTML page
Use the unofficial standard <xml> tag to embed XML data into an HTML page.
XML data can be embedded in an HTML page as in the following example:
<xml id= "Note" >
<note>
<to>Tove</to>
<from>Jani</from>
<body>don ' t forget me this weekend!</body>
</note>
</xml>
Or embed an externally separate XML file as follows:
<xml id= "Note" src= "Note.xml" >
</xml>
Note that the <xml> tag is an HTML element, not an XML element.
--------------------------------------------------------------------------------
Data binding
XML data islands can be bound to HTML elements (such as tables).
In the following example, an XML data island (ID=CDCAT) is loaded from an external XML document. An HTML table is bound to this data island. The span elements within an HTML table are bound to each other using the datafld attribute and the corresponding XML elements of the XML document.
<body>
<xml id= "Cdcat" src= "Cd_catalog.xml" ></xml>
<table border= "1" datasrc= "#cdcat" >
<tr>
<td><span datafld= "ARTIST" ></span></td>
<td><span datafld= "TITLE" ></span></td>
</tr>
</table>
</body>