Telephone +44 (0)117 935 3444
Fax +44 (0)117 935 3322
Email

To book or enquire about this course, contact us on +44 (0)117 935 3444, or by email at .

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.

Course Duration

2 days

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.

Prerequisites

  • Delegates must be familiar with XML. XML experience can come from the ‘XML Overview’ training course. It is also helpful if delegates have programming experience in some programming or scripting language.

Objectives

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

  • Understand the XSLT mechanism
  • Write XSLT Templates
  • Understand the role of the pre-defined templates
  • Write XPath 1.0 and 2.0 expressions for use in XSLT
  • Use XPath 1.0 and 2.0 functions
  • Define parameterised stylesheets
  • Use variables in XSLT
  • Use the XSLT flow control elements
  • Create XML output from XSLT
  • Use regular expressions from XSLT
  • Work with XSLT groups
  • Understand and work with sequences
  • Working with XML Schema
  • Working with multiple result documents
  • Defining custom XSLT functions

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

Conygre do a range of additional courses that may be suitable for your needs. Visit www.conygre.com to find out more. Conygre also customize their courses for almost every client, so if this is not exactly what you want, then give Nick a call on the number at the top of this page.

Copyright 2010 Conygre IT Limited

Close window