Embed XML data in the HTML page

xiaoxiao2021-03-06  93

Embed XML data in the HTML page

The XML data can be embedded in the HTML page using an unofficial standard tag.

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 that is embedded below:

Note that tag is an HTML element, not 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.

, , AND .

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

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

If you are using IE 5.0 or higher, you can try Try IT Yourself.

If you are using IE 5.0 or later, you can watch the External XML file.

You can also experiment with this Example, demonstrate the element