Introduction to XSLT
This course is a 1-day introduction to processing XML using the XSLT transformation language, part of the XSL family of recommendations developed by the World-Wide Web Consortium. XSLT is the language of choice for processing XML information, and has replaced use of the Document Object Model (DOM) API in particular. The course is hands-on, with practical exercises at the end for each appropriate module, so some programming experience is essential. Knowledge of XML is also required, and some HTML knowledge would be useful.
The course costs EUR 500 per person, with a 10% discount for 3 or more people. It is presented by our technical director Eoin Campbell.
To book this course please e-mail us at training at xmlw.ie.
Course Outline
Module 1: Introduction
- Presenting and programming
XML
- The XSLT family: XSL Transformations, XSL Formatting, and
XPath
- XSL vs. CSS
- XSLT vs. DOM and SAX APIs
Module 2: Tutorial Introduction
- XSLT stylesheet layout and
structure
- Understanding XSLT templates
- XSLT namespace
- XML document tree-traversal
- Exercise
Module 3: XPath Expressions
- XPath match patterns
- XPath expressions
- Built-in functions
- Exercise
Module 4: Programming Constructs
- Conditional
processing
- Copying, sorting and numbering
- XML generation
- XSLT file organisation
- Exercise
Module 5: Stylesheet Modularisation
- Multiple stylesheets
- Variables and Parameters
- Exercise
Module 6: Input and Output
- Reading multiple input
documents
- Defining the output format
- Writing multiple output documents
- Exercise
Module 7: Programming Techniques
- Separating code from data (Style-free
XSLT)
- Dynamic content generation
- Supporting multiple languages
- Exercise
Module 8: Tools and Resources
- XSLT software: processors, editors,
browsers
- Online resources: websites and lists
- Books