English French German Italian Portuguese Russian Spanish

logo_old

XSLT 2.0 and XPath 2.0 Training

 PDF PrintEmail

Course duration

  • 3 Days

Course Outline

This XSLT 2.0 training class teaches developers how to use XPath 2.0 and XSLT 2.0 to transform XML documents into HTML, plain text and other XML formats.

  • Learn to use XPath to access XML elements and attributes
  • Learn to loop through XML elements
  • Learn to use conditionals in XSLT
  • Learn to create and call templates
  • Learn to work with multiple XSLTs
  • Learn to reference external XML documents
  • Basic XML
  1. XSLT Basics
    1. eXtensible Stylesheet Language
    2. An XSLT Stylesheet
      1. xsl:template
      2. xsl:value-of
      3. Whitespace and xsl:text
    3. Output Types
      1. Text
      2. XML
      3. HTML and XHTML
    4. XSLT Elements and Attributes
      1. xsl:element
      2. xsl:attribute
      3. Attributes and Curly Brackets
  2. XPath Path Expressions
    1. XPath in XSLT
    2. XPath Expression
    3. XPath Terminology
      1. Context Node
      2. Current Node
      3. Context Size
      4. Proximity Position
    4. Location Paths
    5. Axis
    6. Node Test
    7. Predicate
    8. Accessing Nodes
    9. Abbreviated Syntax
  3. XPath Language Basics
    1. XPath Functions
    2. XPath Operators
    3. XPath Data Types
    4. XPath Expressions
      1. for Expressions
      2. if-then-else Expressions
  4. Flow Control in XSLT
    1. Looping in XSLT
    2. Sorting with XSLT
    3. Looping and Sorting
    4. Conditions with XSLT
  5. XSLT Templates, Parameters and Variables
    1. xsl:apply-templates
    2. xsl:call-template
    3. Passing Parameters
    4. Removing Content
    5. Template Modes
    6. Template Priority
      1. Default Priorities
      2. Assigning Priorities
    7. XSLT Variables
  6. Multiple XML and XSLT Documents
    1. Including XSLTs
    2. Importing XSLTs
    3. Conflict resolution
    4. The document() Function
    5. The collection() Function
    6. Multiple Result Documents
  7. Grouping
    1. The xsl:group Element
    2. Grouping by Value
    3. Grouping Adjacent Elements
    4. Grouping by Starting and Ending Elements
  8. Regular Expressions
    1. Regular Expression Syntax in XSLT
    2. The xsl:analyze-string Element
    3. Built-in Functions that Use Regular Expressions
  9. User-Defined Functions
    1. The xsl:function Element
    2. Function Names and Parameters
    3. Calling User-Defined Functions
  10. Advanced XSLT Techniques
    1. Working with Namespaces
      1. What Are Namespaces?
      2. Declaring Namespaces in XSLT
      3. Namespace Declarations and XPath Expressions
    2. Working with Keys
      1. Key Basics
        1. <xsl:key/>
        2. The key() Function
        3. Improving Performance with Keys
          1. Cross References
          2. The Key Way
      2. The generate-id() Function
    3. Working with Numbered Lists
      1. The position() function
      2. xsl:number
    4. Outputting Processing Instructions
    5. Copying Nodes
      1. xsl:copy
      2. xsl:copy-of
  11. Tying It All Together
    1. Workshop: Sharing data and transforming it for the Web

InterSource Geneva, a premier Information Technology training firm, offers over 400 different courses on server, database and programming technologies, as well as end-user classes for the most popular office, graphics and design applications. We serve clients in Switzerland (Geneva, Lausanne, Bern, Basel, Zurich) and throughout Europe (France, Germany, Austria, Finland, Sweden, England, Netherlands, Spain, etc.).


InterSource offers custom, private courses at client sites, standard public courses in our Geneva classroom, and online training via live Web conference. Training is offered in English and many other languages (Francais, Deutsch, Espanol, Italiano.)


For an overall view of our offerings, please visit us at www.intersource.ch.