XML Examples - How to Use XML Viewers, Parsers and Formatting
Note:
Many of the samples below rely on client-side XML handling
and were written to utilize functionality implemented
in Internet Explorer 5 and above. To browse these examples
as they were designed to be seen, you should ideally be using
Microsoft Internet Explorer 5 or later.
Viewing XML Files
These examples are taken from the chapter Viewing
XML Files in the XML Section of this Web.
A Note by Jan Egil Refsnes
An XML CD catalog by Jan Egil Refsnes
An XML plant catalog by Jan Egil Refsnes
A Simple Menu by Jan Egil Refsnes
Viewing XML Files with a DTD
These examples are taken from the chapter Introduction
to DTD .
XML file with an internal DTD by Jan Egil Refsnes
XML file with an external DTD by Jan Egil Refsnes
Using the Microsoft XML Parser
This example is taken from the chapter Parsing
the DOM in the DOM Section of this Web.
Loading XML into the Parser by Jan Egil Refsnes
These examples are taken from the chapter Accessing
the DOM in the DOM Section of this Web.
Traversing the XML Nodes by Jan Egil Refsnes
Loading XML into HTML by Jan Egil Refsnes
Formatting XML with JavaScript
These examples are taken from the chapter Displaying
XML in the XML Section of this Web.
An XML Note by Jan Egil Refsnes
Formatted by JavaScript by Jan Egil Refsnes
Try It Yourself by Jan Egil Refsnes
Formatting XML with CSS
These examples are taken from the chapter Displaying
XML in the XML Section of this Web.
An XML CD Catalog by Jan Egil Refsnes
A CSS file by Jan Egil Refsnes
The CD Catalog formatted with the CSS file by Jan Egil Refsnes
Formatting XML with XSL
These examples are taken from the chapter Displaying
XML in the XML Section of this Web.
A Simple XML Menu by Jan Egil Refsnes
Formatted with XSL by the Browser by Jan Egil Refsnes
Formatted with XSL by the Server by Jan Egil Refsnes
Transforming XML documents
These examples are taken from the chapter The
XML XSL in the XSL Section of this Web.
The XML file to be transformed by Jan Egil Refsnes
The XSL template by Jan Egil Refsnes
The Result by Jan Egil Refsnes
Navigating an XML file
These examples are taken from the chapter XML Applications
in the XML Applications Section of this Web.
The XML file to navigate by Jan Egil Refsnes
Displaying the file as a recordset in a table by Jan Egil Refsnes
Navigate the recordset by Jan Egil Refsnes
An application prototype by Jan Egil Refsnes
Requesting XML data from a server
These examples are taken from the chapter XML Applications
in the XML Application Section of this Web.
Sending a HTTP Request by Jan Egil Refsnes
Communicating with a server using XML by Jan Egil Refsnes
Try It Yourself by Jan Egil Refsnes
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Jump to : Top Of Page or HOME