What's new in XSLT 3.0: A training course

Abstract

An overview of the new features in XPath 3.1 and XSLT 3.0. All new features in XSLT 3.0 are covered, including packages, streaming, assertions, maps and arrays, and more.

Duration

2-3 days

Prerequisites

Intermediate knowledge of XSLT 2.0 is assumed.

Schedule

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

Topics covered

  1. Overview of changes
  2. XPath 3.0 and 3.1 expressions
    • Mapping operator (!)
    • String concatenation operator (||)
    • Arrow operator (==>)
    • EQNames
    • The let clause
  3. New built-in functions
    • Sorting
    • Analyzing strings
    • Parsing and serializing XML
    • Math and trigonometry
  4. Higher-order functions
    • Why higher-order functions?
    • Named function references
    • Inline function expressions
    • Partial function application
    • Built-in higher-order functions
    • Writing your own higher-order functions
  5. Arrays, maps and JSON
    • Arrays
    • Maps
    • Converting to and from JSON
  6. Improvements to templates and stylesheet processing
    • Text value templates
    • Matching on atomic values
    • Declaring the context item (xsl:context-item)
    • Mode declarations (xsl:mode)
    • Dynamic evaluation of XPath (xsl:evaluate)
    • Try/catch(xsl:try, xsl:catch)
    • Assertions (xsl:assert)
  7. Packages
    • Package definitions (xsl:package)
    • Versions of a package
    • Package dependencies
    • Named components in packages
    • Overriding template rules from a package
    • Declarations local to a package
  8. Streaming
    • Streaming source documents
    • Streaming modes
    • Iterating (xsl:iterate)
    • Merging (xsl:merge)
    • Forking (xsl:fork)
    • Accumulators (xsl:accumulator)