What's new in XSLT 2.0: A training course

Abstract

An overview of the new features in XPath 2.0 and XSLT 2.0. All new features in XSLT 2.0 are covered, including user defined functions, multiple inputs and outputs, regular expressions, grouping. In addition, guidelines and caveats for upgrading stylesheets from 1.0 to 2.0 are provided.

Duration

2-3 days

Prerequisites

Intermediate knowledge of XSLT 1.0 is assumed.

Schedule

To schedule a class, please contact us at pwalmsley@datypic.com.

Topics covered

  1. XPath 2.0
    • The 2.0 data model
    • Path expressions: New and improved
    • Language constructs: overview of the new XPath operators
    • Conditional (if-then-else) and "for" expressions
  2. Improvements to templates and stylesheet processing
    • Temporary trees
    • Multiple modes
    • Next best match
    • Tunnel parameters
  3. Functions
    • Built-in XPath 2.0 functions: an overview
    • User-defined functions
  4. Inputs and outputs
    • Opening documents: the document, doc and collection functions
    • Parsing non-XML input documents
    • Creating multiple result documents
  5. String manipulation
    • Regular expressions in XSLT 2.0
    • The string-related functions in XPath 2.0
    • Parsing strings with xsl:analyze-string
  6. Grouping
    • XSLT 1.0 grouping issues
    • Grouping by value in XSLT 2.0
    • Grouping by position in XSLT 2.0
  7. Namespaces, types and schemas
    • Using namespaces in XSLT 2.0
    • The XSLT 2.0 type system in more detail
    • Declaring types for variables and parameters
    • Using schemas with XSLT 2.0
  8. Considerations for upgrading stylesheets
    • Backward compatibility concerns
    • Removing extension functions
    • Ten easy simplifications
    • Performance considerations