JAG

James Griffiths Ltd

Viewing data with an HTML XML Data Island

 

Information



Please note: This page requires Internet Explorer 5.0 or greater.

Viewing the data from an XML document

The first table uses the external XML document that was created by using Active Server Pages.

First Name Last Name Status Location

The next table uses XML that is embedded within the HTML document itself.

Steven Buchanan Sales Manager Iron & Steel Full-time steven.buchanan@mycompany.co.uk Poole
First Name Last Name Status Location

Data Island

This is an example of an HTML document using an XML Data Island. The HTML document makes a reference to XML by using the XML tag:

<xml id=my_xml_doc src="xml_doc.xml">
</xml>

The table then makes a reference to the data island:

<table
datasrc=#my_xml_doc>

Each cell in the table is then bound to the fields:

<td><div
datafld=FirstName>
</div></td>