XML Guide - XML ​​Data Island

xiaoxiao2021-03-05  22

Using IE5.0 or higher, XML data can be embedded in the HTML page in the form of data islands.

Embed an XML data in an HTML page Use an unofficial standard tag to embed an XML data into the HTML page. XML data can be embedded in the HTML page as the example below:

TOVE

jani

Reminder

don't doget me this weekend!

or like an external separate XML file below:

Note that tag is an HTML element instead of an XML element.

Data binding XML data island can be bound to HTML elements (such as tables). In the following example, an XML data island (ID = CDCAT) is loaded from the external XML document. An HTML table is bound to this data island. The SPAN elements in the HTML table are bound to each other using the DataFLD attribute and the XML document corresponding to the XML document.

转载请注明原文地址:https://www.9cbs.com/read-36904.html

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.037, SQL: 9