XSLT and XPath Training (XSL102)
Course Length: 3 days
This Introduction to XPath and XSLT course provides a comprehensive overview of the XPath and XSLT languages, essential tools for processing and transforming XML documents.

Register or Request Training
- Private class for your team
- Live expert instructor
- Online or on‑location
- Customizable agenda
- Proposal turnaround within 1–2 business days
Course Overview
This Introduction to XPath and XSLT course provides a comprehensive overview of the XPath and XSLT languages, essential tools for processing and transforming XML documents. Learners will explore the foundational concepts, syntax, and expressions in XPath, as well as the various XSLT elements and attributes that make it a powerful language for transforming XML data into different formats. The course delves into advanced techniques, including working with namespaces, keys, and numbered lists, to equip students with a solid understanding of the technologies and their practical applications.
Course Benefits
- Learn to use XPath to access XML elements and attributes
- Learn to loop through XML elements
- Learn to use conditionals in XSLT
- Learn to create and call templates
- Learn to work with multiple XSLTs
- Learn to reference external XML documents
Delivery Methods
Delivered for your team at your site or online.
Course Outline
- XSLT Basics
- eXtensible Stylesheet Language
- The Transformation Process
- An XSLT Stylesheet
- Output Types
- Elements and Attributes
- XPath
- XPath in XSLT
- XPath Expression
- Path Expressions
- Node Test
- Axis
- Predicate
- Accessing Nodes (exercise)
- Abbreviated Syntax
- Accessing Nodes with Abbreviated Syntax (exercise)
- Understanding the Enhanced Data Model in XPath 2.0 and Beyond
- XPath Functions
- XPath Operators
- Using XPath Functions and Operators (exercise)
- Flow Control
- Looping in XSLT
- Looping with xsl:for-each (exercise)
- Sorting with XSLT
- Looping and Sorting (exercise)
- Conditions with XSLT
- Conditionals (exercise)
- Templates Parameters Variables
- xsl:apply-templates
- Using xsl:apply-templates (exercise)
- xsl:call-template
- Passing Parameters
- Using xsl:call-template (exercise)
- Removing Content
- Template Modes
- Template Priority
- XSLT Variables
- Multiple Documents
- Including XSLTs
- Importing XSLTs
- Conflict Resolution
- Multiple Input and Output Documents
- Reusing Templates (exercise)
- Grouping and Keys
- Grouping
- Grouping Songs By Artist (exercise)
- Key Basics
- Creating a Simple Key (exercise)
- Improving Performance with Keys
- Improving Performance with Keys (exercise)
- Regular Expressions
- Regular Expression Syntax
- Functions that Use Regular Expressions
- The xsl:analyze-string instruction
- Using xsl:analyze-string (exercise)
- User-defined Functions
- User-Defined Functions
- User-Defined Functions (exercise)
- Advanced XSLT Techniques
- Working with Namespaces
- Working with Numbered Lists
- Outputting Processing Instructions
- Copying Nodes
- Tying It All Together - XSLT
- Transforming the Business Letter (exercise)
Class Materials
Each student receives a comprehensive set of materials, including course notes and all class examples.
Class Prerequisites
Experience in the following is required for this XML class:
- Basic XML
Have questions about this course?
We can help with curriculum details, delivery options, pricing, or anything else. Reach out and we’ll point you in the right direction.
