Course category:
Search catalog here:
Back to list of courses

Printable versions: HTML PDF

Transforming XML using XSLT 1.0 and 2.0

eXtensible Stylesheet Language for Transformations is a core XML technology for both presentation and middleware layers of enterprise applications. This training course teaches students to write their own XSLT files to transform XML into HTML, XHTML, or some other form of XML. This training course covers material required for the IBM Certified XML Developer qualification. The course covers the latest technology used in XSLT, that is XSLT 2.0 and XPath 2.0.

Training Course Duration

2 days

Layout

The training course combines lectures with practical exercises that help the delegates to put what they have learned on the training course into practice. The exercises specifically build on what has been recently taught and are built up as the training course progresses.

Who it is for

This training course is aimed at developers who need to be able to create XSLT 1.0 and 2.0 files to transform XML into other formats.

Training Course Prerequisites

Training Course Objectives

At the end of this training course, students should be able to:

Training Course Contents

1. Introduction to XSLT

  • Uses of XSLT
  • XSLT transformation mechanism
  • XSLT Templates

2. XPath

  • Accessing elements
  • Accessing attributes
  • XPath axes
  • XPath predicates

3. XPath Functions

  • Number functions
  • Formatting functions
  • Text functions
  • Working with Regular Expressions

4. More on Templates

  • Named templates
  • Priority values
  • Passing parameters
  • Default templates
  • Defining custom XSLT functions

5. XSLT Flow Control

  • The for-each construct
  • Using groups and for-each-group
  • The if construct
  • The choose, when, otherwise construct

6. Creating XML Output

  • The element tag
  • The attribute tag
  • The copy tag
  • The copy-of tag
  • Multiple output documents
  • Controlling the output

7. Combining Stylesheets

  • Importing stylesheets
  • Including stylesheets
  • Using apply-imports

8. Advanced XSLT Features

  • Using keys
  • Adding functions
  • Passing variables from processors
  • The fallback element
Book to attend a public course Book a private course Request more information about this course Speak to an instructor
Book to attend a public course Book a private course for your team (from only £895/day!) Request more information about this course Speak to an instructor who teaches this course