Transformation and styling with XSLT
XML documents can be transformed into a wide variety of text formats using XSLT. (X)HTML, other XML formats, plain text or CSV are just a few of many examples. For this transformation, the eXtensible Style Sheet Language for Transformations XSLT provides a powerful, rule-based language. In the course, you will learn the basics and application of XSLT. Many exercises and examples, such as creating a website with menu and table of contents, will introduce you to the new way of thinking. Solutions to common problems such as sorting, grouping, and summing up are presented. A separate chapter will deal with the innovations and improvements of XSLT and XPath 2.0 compared to version 1.0.
Duration
2 days
goal
- Discover how to reap the benefits of XSLT
- Learn the mindset for creating rule-based style sheets
- Benefit from the exercises and examples later in practice
target group
Developers and users of web applications, content management systems, databases or mobile commerce. Power users in the editorial field.
Contents (new)
Background and terms
- XML, XSL, XSLT, XPath, XSL-FO?
- Typical applications for XSLT
- Transforming XML into any target format
- XSLT processors (Saxon, Altova, MSXML, Xalan)
Basic elements
- Structure and basic elements of a style sheet
- Overview of the most important elements
- Defining and retrieving template rules
- Loops, conditions, variables and parameters
- AVT - Attribute Value Templates
XPath
- Paths and axes for navigation in the XML document
- Context and current node
- Predicates as a filter of the node quantities
- XPath functions
Creating complex style sheets
- Working with lists and recursion
- Modularization: Importing and including style sheets
- XSLT performance: Using indexes
- Special characters, Unicode and white spaces
- Computing and aggregating
- Best practice: Loops vs. template rules, conditions vs. predicates
Practical examples
- String processing: Functional programming and recursions
- Sorting and grouping
- Processing multiple XML documents simultaneously
- Creating multiple target documents and formats
- Creating content directories and sitemaps
- Expanding XSLT: Separate functionality in Java
XSLT and XPATH 2.0
- New in XSLT 2.0: Sequences, elements
- Differences and improvements compared to 1.0
- In detail: Group, string processing, RegEx, date and time
- Typing: XSLT and W3C XML Schema
- XPath 2.0: Data model, functions and operators
XSL FO: PDF generation
- Automated typesetting with XML
- XSLT target format “Formatting Objects”
- Basic structure, VCokument templates and page sequence
- Paragraphs, text fields, lists and tables
Prerequisites
Basic knowledge of XML is necessary, for example, from attending XML Training. Programming knowledge is helpful but not required.
OIO Training

OIO Orientation in Objects GmbH, experts for Java and JavaScript in Mannheim, joined the Trivadis group in May 2018. Together we are extending and strengthening our offer for Java and agile software development. These courses have been developed by OIO and will be held by our new colleagues.
Our Quality Promise
Contact to our service center
+49 (0) 711 90363245
+41 (0) 584 595795
+43 (01) 33 2353160
+41 (0) 584 595454
Early booking pays off
Book your training at least 3 or 6 months before the start of the course and take advantage of the flexible pricing.
> 6 months | > 3 months | 0–3 months |
---|---|---|
990,00 EUR | 1 110,00 EUR | 1 230,00 EUR |
Place | Date | Language | price | |
---|---|---|---|---|
Mannheim / DE |
21.10. - 22.10.2021 | DE | 990,00 € | |
Virtual Classroom |
21.10. - 22.10.2021 | DE | 990,00 € | |
In-house training courses on request! | inquiry |
- E-Learning
- Standard
- Guaranteed to take place
- The course will definitely take place if you make a booking
- There are no free places left on this course. If you still book it, we will place you on the waiting list.
This course is held in another country. Due to the different tax conditions, you will have to book it in a separate booking process. We apologize for any inconvenience.
Speakers
Request an inhouse training
Guarantee of quality
Following completion by the participants, every single training course is assessed at the levels
- suitability of the training room,
- suitability of the workplace,
- functionality of the technical equipment, and
- satisfaction throughout the entire course / seminar,
and recorded in our "TRIVALUATION" feedback system for quality assurance purposes. This enables us to consistently ensure the high quality and satisfaction of our valued customers. We really appreciate the overall rating of 9.3 from 10 points awarded by our many enthusiastic customers.
Success guarantee
Trivadis guarantees the success of your training. Having completed the course / seminar, do you have any questions about the practical aspects? Would you like to repeat any of the exercises in the lab environment?
Our success guarantee allows you to repeat individual days, or even the entire training course, free of charge for up to 6 months after attending a training course. You bring with you the course materials from the previous training course.