Advertise Here
Learn by example from the experts at XMLFiles.com Learn how to use XML for viewing files, how to use Microsoft XML parser to view XML files and documents, how to format XML files with JavaScript or CSS, and how to transform XSL into XML documents, and more. - ?
Extensible Markup Language

Search XML Files

XML Files RSS Feed XML Files Updates

 


XML Examples - How to Use XML Viewers, Parsers and Formatting

back next

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

new Try It Yourself by Jan Egil Refsnes


back next
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 DevX XML Content 
- W3C Has a New XML Standard: XProc
- The Key XForms Enhancements in Version 1.1
- Performing Hierarchical Restructuring Using ANSI SQL
- Taking XML Validation to the Next Level: Explore CAM's Expressive Power
- Taking XML Validation to the Next Level: Introducing CAM

Jump to : Top Of Page or HOME