Creating and Displaying the XML

In this section, we will first create an XML structure in which to sample our Historian and then create an HTML file to display it all. Our XML file will contain a number of references to images that represent screens, which are grouped into navigation nodes. These screens will become what a user navigates through in the sample. Following is the sample XML data:

<?xml version="1.0" encoding="iso-8859-1"?> <navigation> <screen><![CDATA[<img src="img/screen1.jpg">]]></screen> <screen><![CDATA[<img src="img/screen2.jpg">]]></screen> <screen><![CDATA[<img src="img/screen3.jpg">]]></screen> <screen><![CDATA[<img src="img/screen4.jpg">]]></screen> <screen><![CDATA[<img src="img/screen5.jpg">]]></screen> <screen><![CDATA[<img ...

Get Ajax for Web Application Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.