Chapter 8 Examples
Example 8-1: An XML document describing two people
Example 8-2: A minimal XSLT stylesheet
Example 8-3: people.xml transformed by the minimal XSLT stylesheet
Example 8-4: A very simple XSLT stylesheet
Example 8-5: A simple XSLT stylesheet with literal result elements
Example 8-6: A simple XSLT stylesheet that uses xsl:value-of
Example 8-7: A simple XSLT stylesheet that uses xsl:apply-templates
Example 8-8: An XSLT stylesheet that generates a complete HTML document
Example 8-9: The HTML document produced by applying Example 8-8 to Example 8-1
Example 8-10: An XSLT stylesheet that reads attribute
Example 8-11: The HTML document produced by applying Example 8-10 to Example 8-1
Example 8-12: A stylesheet that uses modes
Example 8-13: Output from a stylesheet that uses modes to process each person twice with different templates
Example 8-14: An XML document describing two people that uses a default namespace
Example 8-15: An XSLT stylesheet for input documents using the http://namespaces.oreilly.com/people namespace
[ |
Previous Chapter
|
Next Chapter
|
Examples from Other Chapters
|
XML in an Nutshell Home
|
Other Books by Elliotte Rusty Harold
]
Copyright 2001
Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified January 23, 2001