XSL Transformations
Contents
Introduction
Stylesheet Structure
XSLT Namespace
Stylesheet Element
Literal Result Element as Stylesheet
Qualified Names
Forwards-Compatible Processing
Combining Stylesheets
Stylesheet Inclusion
Stylesheet Import
Embedding Stylesheets
Data Model
Root Node Children
Base URI
Unparsed Entities
Whitespace Stripping
Expressions
Template Rules
Processing Model
Patterns
Defining Template Rules
Applying Template Rules
Conflict Resolution for Template Rules
Overriding Template Rules
Modes
Built-in Template Rules
Named Templates
Creating the Result Tree
Creating Elements and Attributes
Literal Result Elements
Creating Elements with xsl:element
Creating Attributes with xsl:attribute
Named Attribute Sets
Creating Text
Creating Processing Instructions
Creating Comments
Copying
Computing Generated Text
Generating Text with xsl:value-of
Attribute Value Templates
Numbering
Number to String Conversion Attributes
Repetition
Conditional Processing
Conditional Processing with xsl:if
Conditional Processing with xsl:choose
Sorting
Variables and Parameters
Result Tree Fragments
Values of Variables and Parameters
Using Values of Variables and Parameters with xsl:copy-of
Top-level Variables and Parameters
Variables and Parameters within Templates
Passing Parameters to Templates
Additional Functions
Multiple Source Documents
Keys
Number Formatting
Miscellaneous Additional Functions
Messages
Extensions
Extension Elements
Extension Functions
Fallback
Output
XML Output Method
HTML Output Method
Text Output Method
Disabling Output Escaping
Conformance
Notation