XML Data Islands


An XML Data Island is an XML document which exists within an HTML document. An XML document can be inline, referenced through a source attribute or within SCRIPT tags.

Inline Data Islands

<XML ID="XMLID">
	<customer>
		<name>Richard Nixon</name>
		<custID>81422</custID>
	</customer>
</XML>
Parts with an inline XML Data Island.

XML SRC Attribute Data Islands

<XML ID="XMLID" SRC="customer.xml"></XML>
Parts with an with a SRC attribute XML file.

SCRIPT Tag Data Islands

<SCRIPT LANGUAGE="xml" ID="XMLID">
	<customer>
		<name>Richard Nixon</name>
		<custID>81422</custID>
	</customer>
</SCRIPT>
Parts within a SCRIPT tag.