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
- Overview of changes
- XPath 3.0 and 3.1 expressions
- Mapping operator (
!
) - String concatenation operator (
||
) - Arrow operator (
==>
) - EQNames
- The
let
clause
- Mapping operator (
- New built-in functions
- Sorting
- Analyzing strings
- Parsing and serializing XML
- Math and trigonometry
- 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
- Arrays, maps and JSON
- Arrays
- Maps
- Converting to and from JSON
- 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
)
- 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
- Package definitions (
- Streaming
- Streaming source documents
- Streaming modes
- Iterating (
xsl:iterate
) - Merging (
xsl:merge
) - Forking (
xsl:fork
) - Accumulators (
xsl:accumulator
)