XSLT– GTIT25

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

^^

Duration

2 days

^^

Target Audience

This course is suitable for Developers who wish to transform XML documents into other XML documents, HTML or text using XSLT.

^^

Course Prerequisites

Those who wish to attend this course require experience using XML. These skills are taught in the following course:

If you have any questions or doubts as to whether you meet the pre-requisites for this course, or indeed are wondering which course best suits you, please consult with us to discuss your suitability for course attendance.

^^

Suggested Follow on Courses

Please contact us for further details.

^^

Course Content

1. INTRODUCTION TO XSLT

  1. Stylesheet, Source, and Result
  2. XSLT Processors
  3. Processor Implementations
  4. XPath Basics
  5. xsl:stylesheet
  6. xsl:template
  7. xsl:value-of
  8. xsl:apply-templates
  9. xsl:output

2. XPATH NODETYPES

  1. XPath Expressions
  2. XPath Context
  3. XPath Location Steps
  4. Element and Root Nodes
  5. Text and Attribute Nodes
  6. Comment and Processing Instruction
  7. Nodes
  8. Namespace Nodes
  9. Wildcards
  10. Whitespace
  11. Default Template Rules

3. XPATH AXES AND PREDICATES 

  1. Location Paths and Location Steps
  2. Peer Axis Types
  3. More Peer Axis Types
  4. Descendant Axis Types
  5. Ancestor Axis Types
  6. Node Tests
  7. Predicates
  8. Functions

4. XSLT FLOW CONTROL

  1. xsl:if
  2. xsl:choose
  3. xsl:for-each
  4. xsl:sort
  5. Named Templates
  6. Mode

5. GENERATING OUTPUT WITH  XSLT

  1. Output Methods
  2. HTML Output
  3. Plain Text Output
  4. XML Output
  5. xsl:element and xsl:attribute
  6. Attribute Value Templates
  7. xsl:attribute-set
  8. Text, Processing-Instructions, and
  9. Comments
  10. Working with Namespaces

6. USING XPATH AND XSLT FUNCTIONS

  1. XPath Datatypes and Functions
  2. Node Test Functions
  3. Node Set Functions
  4. Boolean Functions
  5. String Functions
  6. Number Functions
  7. id() Function
  8. The document() Function
  9. xsl:key and the key() Function

7. ADVANCED XSLT

  1. Copying Elements
  2. Numbering
  3. Variables
  4. Parameters
  5. Using Other Stylesheets
  6. Apply-imports
  7. Template Rule Conflicts
  8. Extensions

Also Discussed:

8.  XSLT AND  XPATH 2.0 NEW

  1. Features
  2. XSLT 2.0 Grouping Elements and
  3. Functions
  4. User-Defined XSLT Functions
  5. Multiple Output and XHTML
  6. Documents
  7. Temporary Trees
  8. Sequences
  9. Types
  10. Stylesheets that are Schema-Aware
  11. Character Mapping
  12. Regular Expression

^^

See more Internet Technologies courses