
6
Extensible Stylesheet
Language (XSL)
6.1 INTRODUCTION TO XSL 233
6.1.1 What is XSL? 233
6.1.2 The Need For XSL 235
6.2 XSL TRANSFORMATIONS (XSLT): AN
OVERVIEW 237
6.2.1 Basics and Purpose of XSLT 237
6.3 XML PATH LANGUAGE (XPATH) 240
6.3.1 Nodes 240
6.3.2 Location Paths 243
6.3.3 Examples 246
6.3.4 Using Predicates 250
6.3.5 Unabbreviated and Abbreviated Syntaxes 250
6.4 EXTENSIBLE STYLESHEET
LANGUAGE TRANSFORMATIONS
(XSLT) 254
6.4.1 Templates 254
6.4.2 Creating Elements and Attributes 267
6.4.3 Looping and Sorting 270
6.4.4 Conditional Processing 281
6.4.5 Copying Nodes Using
<xsl:copy>
and
<xsl:copy-of> ...