XSLT

2 Days

Description

In this course you 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, you will learn how to use XPath nodetypes, axes, and predicates. Flow control and functions are covered next. Finally, you will learn some advanced XSLT features such as variables and parameters.

 

No Upcoming Public Classes

There are currently no public events available for this course. However, you can submit a request for a new date and we will try our best to get you into a XSLT class.

Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date

Course Overview

1.  Course Introduction

  • Course Objectives
  • Course Overview
  • Using the Workbook
  • Suggested References

2. 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

3. XPath Nodetypes

  • XPath Expressions
  • XPath Context
  • XPath Location Steps
  • Element and Root Nodes
  • Text and Attribute Nodes
  • Comment and Processing Instruction 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
  • 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

 

 

No Upcoming Public Classes

There are currently no public events available for this course. However, you can submit a request for a new date and we will try our best to get you into a XSLT class.

Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date

Prerequisites

Experience Using XML

No Upcoming Public Classes

There are currently no public events available for this course. However, you can submit a request for a new date and we will try our best to get you into a XSLT class.

Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date