XML Transformations with XSL
2 days

Course overview
If an organisation has decided to use XML Schema in their XML solution, then the XML Schema course would be an essential pre-requisite for this course. However, the course works just as well if they are using DTDs, which are introduced in the XML Introduction course. Some examples of people who would benefit from this course include:

Those involved in preparing data for presentation on multiple platforms (such as web, print, multimedia devices, PDAs)
People being offered Web Services (or other data sets) in XML, which must then be presented in a more familiar format (such as MS Office documents or web pages)
Anyone responsible for creating templates for others to use in the flow of XML data within an organisation

Who should attend
This course requires all the concepts from the XML introduction, so delegates either need to have attended that course or have equivalent experience. Someone with scant knowledge of XML would find this course confusing and would not get much benefit from it.

Although the course begins with a review of XML and DTDs, this is done in the context of XML Transformations and is no replacement for experience at the level of the Introduction to XML.
There is a great amount of logical reasoning required to fulfil the exercises on this course, so even though it is often the role of a designer to make data presentable, delegates must appreciate that XML Transformations are more like programming than a design tool.


  Course contents

XML Review
Separating content from presentation
XML as s standard document format
The need for validation
XML transformations with XSL
Character and entity references
Well formed XML
Elements and attributes

DTD Review
DTD structure
Defining elements and attributes
XML namespaces

XSLT Templates and Production
XSL and XSLT
Rule-based transformations
Output methods
Templates and template matching
Built-In template rules
Recursion through templates
Controlling whitespace
Template context
Literal replacement elements
Formalizing text, elements and attributes

XSLT Dynamic Content and Flow Control
Deriving source content
Getting source values
Attribute value templates
Copying source elements and trees
Defining target vocabulary
Generating processing instructions
Variables
Result tree fragments
Looping and conditionals
Calling templates as functions
Sorting and number formatting

 

 

Gathering Data
Common Transformation Problems
XSLT techniques
Filtering and sorting
Data type for sorting
Grouping
Using XSLT keys

Formatting, Calculating, and Restructuring
Adding static content
Auto-numbering
Computing aggregate values
Using tail recursion
Forging new document structures
Defining structure algorithmically

Multiple Source Documents
Merging multiple source documents
The XSLT document function
Using template documents
Parameterizing transformations
Xml documents as instruction sets
Reusing transformation logic
Including and importing transforms
Multiple template modes
Buffering template output for secondary analysis

 

Related courses
XHTML Introduction
XML Introduction
XML Document Design using XML Schema

How to book
Please call us now on 020 8658 6994 or email us at admin@alphatraining.com

Home


© Alpha Training, Telephone +44 (0)20 8658 6994, Email admin@alphatraining.com