Abstract
Describes the XSLT language for transforming XML documents.
This publication is available in Web form and also as a PDF document. Please
forward any comments to tcc-doc@nmt.edu.
Table of Contents
<xsl:stylesheet><xsl:output>:
Select output options<xsl:preserve-space>: Preserving
white space<xsl:strip-space>: Removing
non-significant white space<xsl:import>: Use
templates from another stylesheet<xsl:key>: Create
an index to optimize input document access<xsl:decimal-format>: Define a
numeric format<xsl:template>:
Define a template<xsl:variable>:
Define a global or local variable<xsl:apply-templates>: Process a
node set with appropriate templates<xsl:include>:
Insert another stylesheet<xsl:param>:
Define an argument to be passed into a template<xsl:with-param>:
Pass an argument to a template<xsl:apply-imports>: Use an overridden
template<xsl:attribute-set>: Define a
named attribute set<xsl:comment>:
Output a comment<xsl:copy>:
Shallow copying<xsl:copy-of>:
Deep copying<xsl:fallback>:
What to do if an extension is missing<xsl:message>:
Write a debugging message<xsl:namespace-alias>: Assign a
prefix to a namespace<xsl:processing-instruction>:
Output a processing instruction<xsl:sort>:
Process nodes in a given orderxsltproc
processorXSLT is a tool for transforming an XML (eXtended Markup Language) document into either an HTML document, or into an XML document of a different document type.
This document assumes that you are familiar with the structure of XML documents; if you are unfamiliar with XML, see the XML help page.
Many of the examples use HTML; for reference, see Building web pages with XHTML 1.1.
Online files related to this document: