United States flagCanada flag1 877 849 1850 International flag +1 678 648 311
Please contact us
for GSA pricing.
GSA
Contract #
GS-35F-0307T

XSLT Training: Mastering XSLT

Course Number: XML-120
Duration: 3 days
view course outline

XSLT Training Overview

XSLT (Extensible Stylesheet Language Transforms) enables you to transform XML data from one document type into other XML document types, and even into other formats such as HTML, XHTML, WML, and XQL.

Location and Pricing

Most Accelebrate courses are delivered as private, customized, on-site training at our clients' locations worldwide for groups of 3 or more attendees and are custom tailored to their specific needs. Please visit our client list to see organizations for whom we have delivered private in-house training. These courses can also be delivered as live, private online classes for groups that are geographically dispersed or wish to save on the instructor's or students' travel expenses. To receive a customized proposal and price quote for private training at your site or online, please contact us.

In addition, some courses are available as live, online classes for individuals. See a schedule of online courses.

XSLT Training Prerequisites

Prior knowledge of XML, as taught in Accelebrate's Core XML training class, is required.

Hands-on/Lecture Ratio

This XSLT training class is 70% hands-on, 30% lecture, with the longest lecture segments lasting for 15 minutes. Students "learn by doing," with immediate opportunities to apply the material they learn to real-world problems.

XSLT Training Materials

All XSLT training students receive a copy of O'Reilly's XSLT Cookbook and related courseware.

Software Needed on Each Student PC

  • Internet Explorer 6.0 or later
  • Appropriate software for performing XSLT -- we will work with you to decide this based on your available tools and developers' experience

XSLT Training Objectives

  • To master how to use XSLT and XPath to transform XML documents into XHTML, other XML document formats, and plain text
  • To learn how to automate XSLT using the programming language of the attendees' choice

XSLT Training Outline

  • XSLT Basics
    • eXtensible Stylesheet Language
    • An XSLT Stylesheet
      • xsl:template
      • xsl:value-of
      • Whitespace and xsl:text
    • Output Types
      • Text
      • XML
      • HTML
    • XSLT Elements and Attributes
      • xsl:element
      • xsl:attribute
      • Attributes and Curly Brackets
  • XPath
    • XPath in XSLT
    • XPath Expression
    • XPath Terminology
      • Context Node
      • Current Node
      • Context Size
      • Proximity Position
    • Location Paths
    • Axis
    • Node Test
    • Predicate
    • Accessing Nodes
    • Abbreviated Syntax
    • XPath Functions
    • XPath Operators
  • Flow Control in XSLT
    • Looping in XSLT
    • Sorting with XSLT
    • Looping and Sorting
    • Conditions with XSLT
  • XSLT Templates, Parameters and Variables
    • xsl:apply-templates
    • xsl:call-template
    • Passing Parameters
    • Removing Content
    • Template Modes
    • Template Priority
      • Default Priorities
      • Assigning Priorities
    • XSLT Variables
  • Multiple XML and XSLT Documents
    • Including XSLTs
    • Importing XSLTs
    • Conflict resolution
    • The document() Function
  • Working with Keys
    • Key Basics
      • The key() Function
      • Improving Performance with Keys
        • Cross References
        • The Key Way
      • Grouping
        • The generate-id() Function
        • Using generate-id() for Grouping
  • Advanced XSLT Techniques
    • Working with Numbered Lists
      • The position() function
      • xsl:number
    • Outputting Processing Instructions
    • Copying Nodes
      • xsl:copy
      • xsl:copy-of
  • Conclusion