Webucator did a fantastic job of making me a Crystal Reports fan AND user for life. More Testimonials »

Comprehensive XSL 1.0 Training

Delivery Options

Class Description

Class Overview

This XSL training class teaches developers how to use XSLT 1.0 and XPath 1.0 to transform XML documents into HTML, plain text and other XML formats with XSLT and to PDF with XSL-FO.

Class Goals

  • 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
  • Learn how the Formatting Objects (FO) language works
  • Learn to auto-generate FO documents from XML with XSLT
  • Learn to use a Formatting Objects Engine to generate PDF documents from XML

Class Outline

  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
    4. XSLT Elements and Attributes
      1. xsl:element
      2. xsl:attribute
      3. Attributes and Curly Brackets
  2. XPath
    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
    10. XPath Functions
    11. XPath Operators
  3. Flow Control in XSLT
    1. Looping in XSLT
    2. Sorting with XSLT
    3. Looping and Sorting
    4. Conditions with XSLT
  4. 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
  5. Multiple XML and XSLT Documents
    1. Including XSLTs
    2. Importing XSLTs
    3. Conflict resolution
    4. The document() Function
  6. 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
      4. Grouping
        1. The generate-id() Function
        2. Using generate-id() for Grouping
  7. Advanced XSLT Techniques
    1. Working with Numbered Lists
      1. The position() function
      2. xsl:number
    2. Outputting Processing Instructions
    3. Copying Nodes
      1. xsl:copy
      2. xsl:copy-of
  8. Tying It All Together
    1. Workshop: Sharing data and transforming it for the Web
  9. Formatting Objects Basics
    1. The purpose of XSL-FO
    2. How XSL-FO Works
      1. XSL-FO Document Parts
      2. An XSL-FO Example
      3. The Root Element: root
      4. layout-master-set and simple-page-master
      5. Regions
      6. page-sequence
      7. flow and static-content
      8. block
    3. Static Content
      1. region-before and region-after
      2. static-content
  10. Blocks and Inlines
    1. Formatting Blocks
      1. Box Model
      2. Border
      3. Space, Indent and Padding
      4. Background
      5. A Formatting Example
      6. Formatting Text
    2. Inline Elements
    3. Inheritance
      1. wrapper
    4. Creating Lists
      1. list-block
      2. list-item
      3. list-item-label
      4. list-item-body
    5. Whitespace
  11. Page Layout
    1. Page Masters
    2. Simple Layout
      1. fo:simple-page-master
      2. fo:region-body
      3. fo:region-before, fo:region-after, fo:region-start, and fo:region-end
    3. page-sequence-master
      1. Creating a Cover Page
      2. Odd and Even Pages
    4. Blank Pages
      1. break-before and break-after
    5. Columns
  12. Links and Graphics
    1. External Links
    2. Graphics
    3. Internal Links
  13. Tying It All Together: XSL-FO
    1. Tying it all Together
  14. Keeps, Orphans, and Widows
    1. Keep Constraints
      1. keep-with-previous and keep-with-next
      2. keep-together
    2. Orphans and Widows
  15. Leaders, Markers and Page Numbers
    1. The Output
    2. Table of Contents
      1. Page Numbering
    3. Leaders
    4. Markers
  16. Tables
    1. Creating Tables
      1. fo:table
      2. fo:table-column
      3. fo:table-header, fo:table-body, fo:table-footer
      4. fo:table-row
      5. fo:table-cell
  17. Footnotes and Floats
    1. Footnotes
      1. xsl-footnote-separator
    2. Floats

Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following areas is required:

  • Basic XML

Technical Requirements

Our computer technical requirements and setup process is easy, with support just a click away.

Client Success
  1. Independent Survey
  2. Client List
  3. Testimonials
Join The Team
  1. Learn how you can become a Webucator Trainer
  2. Career Opportunities
Locations
Compare Us
Watch 3-minute Demo Video
of Live Online Training:
Learn the benefits of online training with Webucator
Webucator is a Registered Education Provider (R.E.P.) approved by PMI to issue professional development units (PDUs) for our training courses.

Free Webinars

A Crash Course in CSS

Wed, 3/21 1:00 PM EST

© Webucator, Inc. All rights reserved. | Toll Free: 1-877-932-8228 | From outside the USA: 315-849-2724| Fax: 315-849-2723