Previous | Next | Index | TOC | Top | Top Contents Index Glossary


Part IV: Using XSLT

Link Summary
Glossary Terms
XSLT

In this section of the tutorial, you'll learn how to use XSLT to write out a DOM as an XML file. You'll also see how to generate a DOM from an arbitrary data file in order to convert it to XML. Finally, you'll use XSLT to convert XML data into a different form, unlocking the mysteries of the XPath addressing mechanism along the way.

Overview of the Xml Stylesheet Language for Transformations (XSLT)

XSLT defines mechanisms for addressing XML data (XPath) and for specifying transformations on the data, in order to convert it into other forms

What You'll Learn

In this section of the tutorial, you'll parse an existing XML file to construct a DOM, display and inspect the DOM hierarchy, convert the DOM into a user-friendly JTree, and explore the syntax of namespaces. You'll also create a DOM from scratch, and see how to use some of the implementation-specific features in Sun's JAXP reference implementation to convert an existing data set to XML.

This section of the tutorial covers the following topics:

  1. Introducting XSLT and XPath
  2. Writing Out a DOM as an XML File
  3. Generating XML from an Arbitrary Data Structure
  4. Transforming XML Data with XSLT
  5. Concatenating XSLT Transformations with a Filter Chain
 

Previous | Next | Index | TOC | Top | Top Contents Index Glossary