XSLT

Course Number:X110
Duration:2 days
Standard Price:$4,400 for up to 10 students
Government Price:$3,960 for up to 10 students
Location:on-site

Description

In this two-day course you will use the features of XSLT and XPath to develop stylesheets that convert XML documents to other XML, HTML, or text. You will use elements and functions to create stylesheet templates and match them with parts of your source document.

Outline

Introduction to XSLT

  • Standards
  • Stylesheets
  • Processors
  • Results
  • XPATH

Getting Started

  • Composite Stylesheet Blueprint
  • Root Template
  • xsl:value-of
  • xsl:apply-templates
  • xsl:output

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 and Whitespace

XPath Axes

  • Peer Axis Types
  • More Peer Axis Types
  • Descendant Axis Types
  • Ancestor Axis Types
  • Predicates
  • Functions
  • id() Function

XSLT Flow Control

  • XPath Datatypes
  • Named Templates
  • Mode
  • xsl:if
  • xsl:choose
  • xsl:for-each
  • Variables
  • Attribute Value Templates

More XSLT Elements

  • xsl:sort
  • document()
  • Using Other Stylesheets
  • Template Rule Conflicts
  • Parameters
  • Recursion
  • XSLT Extensions
  • Fallback Processing

XSLT for Other Output Types

  • XML Output
  • HTML Output
  • Delimited Text Output
  • Extended Output Types

Who should attend

Developers who wish to transform XML documents into other XML documents, HTML or text using XSLT.

Prerequisites

Introduction to XML