Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Displaying XML Data in an HTML Page

An HTML page displays XML data


Displaying XML Data in an HTML Page

In the example below, we open an XML file (\"cd_catalog.xml\"), then loop through each CD element, and display the values of the ARTIST and TITLE elements in an HTML table:

Example

Try it »

To learn more about using JavaScript and XML DOM, please visit our XML DOM Tutorial。