Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
September 4, 1998
A data island is XML code that exists within an HTML page. A data island allows you to integrate XML into your HTML page and script against that XML without having to load the XML through script or through the <OBJECT> tag. Anything that can be in a well-formed XML document can be inside a data island. This includes processing instructions, DOCTYPE declarations, and internal subsets.
The XML for a data island can be either inline, for example:
<XML ID="XMLID"> <customer> <name>Herbert Hanley</name> <custID>81422</custID> </customer> </XML>
or referenced through an SRC attribute on the XML tag, for example:
<XML ID="XMLID" SRC="customer.xml"></XML>
Simply author XML. Place that XML within an XML element, and give that XML element an ID.
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.