XSLT Training

How To Take This Class

Live Instructor-Led Online Class

Cost: $695.00

  • Open enrollment class for individuals
  • Live class with an instructor
  • Free class retakes forever!
  • Six months of instructor email support
  • Hands-on exercises and student labs
  • Classes never cancelled due to low enrollment
  • Money-back guarantee

Onsite or Offsite Group Training

Cost: Based on number of students

  • For groups as small as 3 people
  • Class Held at our location or yours
  • Hands-on exercises and student labs
  • Customization at no extra charge
  • Six months of instructor email support
  • All-inclusive pricing
  • Money-back guarantee
Request Group Pricing Proposal

Course Duration

2 Days

Course Description

In this two-day XSLT training course students will use the features of XSLT and XPath to develop stylesheets that convert XML documents to other XML, HTML, or text. The course begins with an introduction to commonly used tags such as template, apply-templates, and value-of. From there, students will learn how to use XPath nodetypes, axes, and predicates. Flow control and functions are covered next. Finally, students will learn some advanced XSLT features such as variables and parameters

Course Objectives

Upon successful completion of this course, students will be able to:
  • Use XML to transform data into HTML
  • Use XPath expressions
  • Use template rules
  • How to use variables and functions
  • How to group and sort data
  • How to use processor-specific extensions

Course Audience

This course is designed for developers and others who want to gain a better understanding of how to use XSLT to transform XML data.

Course Prerequisites

This course assumes a basic understanding of XML and it's uses.

Course Syllabus

  1. Introduction to XSLT
    • Stylesheet, Source, and Result
    • XSLT Processors
    • Processor Implementations
    • XPath Basics
    • xsl:stylesheet
    • xsl:template
    • xsl:value-of
    • xsl:apply-templates
    • xsl:output
  2. XPath Nodetypes
    • XPath Expressions
    • XPath Context
    • XPath Location Steps
    • Element and Root Nodes
    • Text and Attribute Nodes
    • Comment and Processing Instruction
  3. Nodes
    • Namespace Nodes
    • Wildcards
    • Whitespace
    • Default Template Rules
  4. XPath Axes and Predicates
    • Location Paths and Location Steps
    • Peer Axis Types
    • More Peer Axis Types
    • Descendant Axis Types
    • Ancestor Axis Types
    • Node Tests
    • Predicates
    • Functions
  5. XSLT Flow Control
    • xsl:if
    • xsl:choose
    • xsl:for-each
    • xsl:sort
    • Named Templates
    • Mode
  6. Generating Output with XSLT
    • Output Methods
    • HTML Output
    • Plain Text Output
    • XML Output
    • xsl:element and xsl:attribute
    • Attribute Value Templates
    • xsl:attribute-set
    • Text, Processing-Instructions, and Comments
    • Working with Namespaces
  7. Using XPath and XSLT Functions
    • XPath Datatypes and Functions
    • Node Test Functions
    • Node Set Functions
    • Boolean Functions
    • String Functions
    • Number Functions
    • id() Function
    • The document() Function
    • xsl:key and the key() Function
  8. Advanced XSLT
    • Copying Elements
    • Numbering
    • Variables
    • Parameters
    • Using Other Stylesheets
    • Apply-imports
    • Template Rule Conflicts
    • Extensions
  9. Appendix – XSLT and XPath 2.0 New Features
    • XSLT 2.0 Grouping Elements and Functions
    • User-Defined XSLT Functions
    • Multiple Output and XHTML
    • Documents
    • Temporary Trees
    • Sequences
    • Types
    • Stylesheets that are Schema-Aware
    • Character Mapping
    • Regular Expressions