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 2.0 Training: Mastering XSLT 2.0 and XPath 2.0

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

XSLT 2.0 Training Overview

Accelebrate's XSLT 2.0 training class teaches developers how to use XPath 2.0 and XSLT 2.0 to transform XML documents into other XML document formats, XHTML, and plain text.

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 2.0 Training Prerequisites

Prior knowledge of core XML tagging syntax, as taught on the first day of Accelebrate's Core XML training class or acquired through experience, is required. Prior knowledge of XML Schema is helpful, but we can adapt the class to any level of prior XML Schema familiarity.

Hands-on/Lecture Ratio

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

XSLT 2.0 Training Materials

All XSLT 2.0 training students receive a copy of Wrox Press' XSLT 2.0 and XPath 2.0 Programmer's Reference and related courseware.

Software Needed on Each Student PC

  • The XML/XSLT editing and transformation environment that your developers will be using after class. If none has been selected, we default to using XMLSpy, for which we can provide copies for the duration of the training.

XSLT 2.0 Training Objectives

  • Use XPath 2.0 to access XML elements and attributes
  • Loop through XML elements
  • Use conditionals in XSLT 2.0
  • Create and call templates
  • Work with multiple XSLTs
  • Reference external XML documents via document()
  • Master grouping results with xsl:group (similar to grouping in SQL queries)
  • Build user-defined functions with xsl:function
  • Specify data relationships with keys
  • Work with namespaces
  • Apply advanced XSLT

XSLT 2.0 Training Outline

  • XSLT Basics
    • eXtensible Stylesheet Language
    • An XSLT Stylesheet
      • xsl:template
      • xsl:value-of
      • Whitespace and xsl:text
    • Output Types
      • Text
      • XML
      • HTML and XHTML
    • XSLT Elements and Attributes
      • xsl:element
      • xsl:attribute
      • Attributes and Curly Brackets
  • XPath Path Expressions
    • 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 Language Basics
    • XPath Functions
    • XPath Operators
    • XPath Data Types
    • XPath Expressions
      • for Expressions
      • if-then-else Expressions
  • 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
    • The collection() Function
    • Multiple Result Documents
  • Grouping
    • Grouping by Value
    • Grouping Adjacent Elements
    • Grouping by Starting and Ending Elements
  • Regular Expressions
    • Regular Expression Syntax in XSLT
    • The xsl:analyze-string Element
    • Built-in Functions that Use Regular Expressions
  • User-Defined Functions
    • The xsl:function Element
    • Function Names and Parameters
    • Calling User-Defined Functions
  • Advanced XSLT Techniques
    • Working with Namespaces
      • What Are Namespaces?
      • Declaring Namespaces in XSLT
      • Namespace Declarations and XPath Expressions
    • Working with Keys
      • Key Basics
        • <xsl:key/>
        • The key() Function
        • Improving Performance with Keys
          • Cross References
          • The Key Way
      • The generate-id() Function
    • Working with Numbered Lists
      • The position() function
      • xsl:number
    • Outputting Processing Instructions
    • Copying Nodes
      • xsl:copy
      • xsl:copy-of
  • Tying It All Together
    • Workshop: Sharing data and transforming it for the Web
  • Conclusion