Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
An XML data island is an XML document residing within an HTML page. This avoids having to write code (i.e. a script) just to load the XML document, or having to load it through a tag. Client side scripts can directly access these XML data islands. These XML data islands can be bound to HTML elements also.
In an HTML document, the XML element is written as:
It signifies the beginning of the XML data island. Following this, an ID attribute may be inserted to identify the data island:
An XML data island may be created by three methods: Inline XML; using an XML tag and using the script tag.