Publication date : 08/14/2024

Course : Developing with XSL-T and XSL-FO

generate XML, HTML, graphics and pdf documents

Practical course - 4d - 28h00 - Ref. LSX
Price : 2200 € E.T.

Developing with XSL-T and XSL-FO

generate XML, HTML, graphics and pdf documents



You will master the XSL-T and XPath languages. You will learn XSL-FO for PDF document generation and SVG for image and interface generation. Participants will set up a complete environment for the automated production of documents containing both text and images.


INTER
IN-HOUSE
CUSTOM

Practical course in person or remote class
Disponible en anglais, à la demande

Ref. LSX
  4d - 28h00
2200 € E.T.




You will master the XSL-T and XPath languages. You will learn XSL-FO for PDF document generation and SVG for image and interface generation. Participants will set up a complete environment for the automated production of documents containing both text and images.


Teaching objectives
At the end of the training, the participant will be able to:
Creating style sheets using XSL-T and XPath
Data manipulation and navigation in XML documents
Generate PDF documents using XSL-FO
Generate images and graphical interfaces using the SVG format

Intended audience
Application designers and developers, software architects, project managers.

Prerequisites
Basic knowledge of XML and HTML syntax.

Course schedule

1
Introduction to the context of XSL and XPath

  • XML technology requirements.
  • CSS technology for presentation, CSS limitations.
  • Introduction to XSL, XSL-T, XSL-FO and SVG.
  • Introduction to Xpath. Basic principles and mechanisms.
  • XML parser and XSL processor. Web browser support.
  • Implementation of XSL technologies.

2
The XPath query language

  • XPath expressions. Querying an XML document.
  • Research areas and vectors.
  • Review of a few simple expressions.
  • Select elements/nodes, node sets and attributes in an XML tree.
  • Location operator.
  • Equation of equality and relation, Boolean operators. Numerical operations.
  • Standard functions and processor extensions.
Hands-on work
Writing and testing XPath expressions.

3
The transformation language: XSL-T

  • XSL-T stylesheet structure, XSL-T processor processing.
  • Namespaces and root XSL elements.
  • Output formats: XML, HTML, X-HTML or text vocabularies.
  • Use XPath expressions.
  • Knots and sets of knots.
  • Processing model: templates.
  • XSL-T syntax, data types, control structures, etc.
  • Notions of variables and parameters.
  • Element and attribute generation.
  • Declarative or mandatory invocation of processing.
  • Element and content retrieval.
  • Analysis of XSL-T processor behavior.
  • Optimization of node searches.
  • Error handling.
Hands-on work
Composition of different types of XSL-T stylesheets.

4
XSL-T, advanced features

  • Write functions: simple and recursive calls.
  • Modular structure of style sheets.
  • Design patterns: Fill-in-the-blank, Navigational, Rule-based, Computational.
  • Import and include style sheets with argument passing.
  • Creation of reusable libraries.
  • Modularity and heritage.
  • Transformations based on multiple sources.
  • Generate groups of documents.
  • Specific features of certain processors.
  • Work on heterogeneous namespaces.
  • XSL dynamization of office documents: Microsoft Office (Open XML), Open Office (Open Document).
Hands-on work
Creation of modular, nested style sheets, with multiple input structures and generation of multiple output documents. Creation of MS Office documents using XSL.

5
The developer's toolbox

  • Launch command-line transformations.
  • Use of various processors (XT, Saxon, Xerces, MSXml...).
  • Transformation scripting with Ant.
  • Website management.
Hands-on work
Implementation of an XML-based Web site management environment.

6
XSL-T 2.0 and 3.0, X-PATH 2.0 and 3.0

  • New features: functions, expressions, operations, sorting, fallbacks and error handling, etc.
  • New data types supported.
  • Differences in treatment.
  • Create a result tree, a sequence of nodes or values.
  • XPath queries with regular expressions.
  • Numerical functions and operators.
  • String functions.
  • Functions and operations on dates.
Hands-on work
Manipulate and navigate XML trees.

7
SVG for graphic interfaces and image creation

  • SVG, Scalable Vector Graphics. The challenges of vector languages. Advantages of SVG over Flash.
  • Server-side and client-side use.
  • Editing and user environments: browsers...
  • Document structure.
  • Coordinate systems and dimensioning. Coordinate system transformation.
  • Basic shapes. Styles. Curves and paths. Patterns and gradients. Text and internationalization.
  • Masking and cutting.
  • Filtering.
  • Animation, interaction and scripts.
Hands-on work
Creation of style sheets to generate SVG documents. Generate HTML pages containing graphs.

8
XSL-FO for paper document generation

  • XSL-FO, Formatting Objects.
  • XSL-FO requirements and objectives. Introduction to the language.
  • Available solutions and implementations.
  • Example from the Apache.org FOP project.
  • Initialization, definition of page templates.
  • Content area, region dimensions, page sequences.
  • Inclusion of graphics in SVG format.
  • Result generation.
Hands-on work
Creation of style sheets combining XSL-T and XSL-FO to generate PDF output. Generate a report containing images in SVG format.


Customer reviews
5 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.
EMMANUEL C.
16/09/25
5 / 5

There was nothing to say about the content, which was far more extensive than was necessary. The training conditions (only 2 participants from the same team) made it possible to go very far into the various aspects covered, and to work on the participants' files, which was much appreciated.
THOMAS G.
16/09/25
5 / 5

Excellent training, thanks in particular to our trainer's remarkable teaching style! I didn't have much knowledge of development, but I was able to follow the course content without any difficulty. We were also able to talk easily with the trainer if we had any difficulties, as well as about the problems we encountered in our work. Each stage of the course was accompanied by concrete examples and exercises, which helped us to better understand the tools as well as the methods used.



Dates and locations
Select your location or opt for the remote class then choose your date.
Remote class

Dernières places
Date garantie en présentiel ou à distance
Session garantie

REMOTE CLASS
2026 : 24 Mar., 16 June, 27 Oct.

PARIS LA DÉFENSE
2026 : 24 Mar., 16 June, 27 Oct.