Home Contact Resources Training Profile Clients Careers


Introduction to XSLT


Length: 3 days
CourseID: introxslt



Prerequisites:

Participants should have software development background. Particularly they should be familiar with XML. Familiarity with a structured programming language like Java is helpful.


Overview:

XML is becoming the de-facto standard for transporting information across the network. XSLT is the language used to transform XML into something else, another XML, HTML, or almost anything else/. Students will become familiar with the standards and the syntax of XSLT. This is a Hands-On course, and the students will be designing and developing many XSLT Transformations. The class can be taught in several different GUI Interfaces, but it is not based on Microsoft’s I.E.


Objectives:

  • Build Transformation rules for XML Data
  • Build simple Stylesheets
  • Transform XML into HTML
  • Expand Simple Stylesheets with Templates
  • Invoke Templates by name based on a condition
  • Modularize the XSLT for maintenance
  • Look at the future directions of XSLT

  • Chapters:


    Introducing XSLT

    XML Standards What Is XSLT?
    XSLT Standards XSLT Background
    XSLT Uses Simple XSLT
    Processing XSLT

    Simplified Stylesheets

    The bare basics, Root Elements, Simplifie

    Advanced Templates

    Adding Template Rules Templates
    Modular Templates Template Match
    Apply-Templates Template Modes

    Simple XPath

    XPath Introduction Location Step
    Step Components Axis
    Match Pattern Node Tests
    Meta-characters Node Types
    Manipulating the tree Basic XPath Functions

    Advanced XPath

    Axis shortcuts XPath Functions
    Node Groupings Node Iterators
    Attribute Patterns Regular expresions
    Advanced Expressions

    Advanced XSLT

    Syntax Variables
    Dereferencing variables Parameters
    Dereferencing parameters Variables vs Parameters
    Top-Level Elements XSLT Iterators
    Building Nodes Calculating data

    Advanced XPath

    Expert tree manipulation Location steps revisited
    XPATH Functions id function
    Calling Named Templates Using Functions
    Including external stylesheets import vs include

    XSLT Design Issues

    Applying XSLT Data Organization
    Raw data copy Multiple Source Trees
    Referring to secondary trees Whitespace Management

    XSLT Extensions

    Introduction XSLT Tools
    XSLT standards and Extentions Xalan Extensions
    MSXML Extensions Java Extensions
    Java 2 applications