XML technologies / XSLT / Introduction to XSLT 2.0 / XSLT and XPath – round three / Summary and exercises

(Excerpt from "XSLT 2.0 & XPath 2.0" by Frank Bongers, Chapter 3.)

Chapter three covered further core concepts of XSLT and XPath. The most important are variables and parameters, whose concepts in XSLT differ from conventions familiar in other programming languages. Other topics include named templates, calling them with parameters, and declaring stylesheet functions.

After working through part three, you should be able to:

The following XSLT declarations and instructions were introduced: xsl:variable, xsl:param, xsl:with-param, xsl:call-template, xsl:function, xsl:result-document, xsl:key, xsl:import and xsl:include.

Important functions introduced here include document(), tokenize(), norma­lize-space(), key(), generate-id(), id() and others. Tunnel parameters and stylesheet modularity were also discussed.

Looking ahead to part two of the book

This concludes the general introduction to XSLT 2.0 and XPath 2.0, but not the book. This first quarter provides a basic overview of XSLT and XPath concepts. It was not intended to be exhaustive, nor could exhaustive coverage fit a reasonably coherent structure that also remains accessible to beginners.

Many topics remain, including processing with schema types, some date and time features, further uses of regular expressions in XSLT, and numerous other major and minor details. The reference section that follows fills these gaps.

   

   

back to top