| Workshops --> XML --> Demo --> xsl.html |
|---|
![]() |
|
XSL handles the problem of preparing the presentation of an XML document
It is under active development by the W3C
It is useful because XML is concerned with the structure of information and not its display
XSL allows us to create style sheets that control the presentation of XML files
The part of XSL that handles style rules is called XSL Transformation (XSLT), a language for transforming XML files
The part of XSL that defines the style of XML elements is called XSL formatting objects (XSL-FO), an XML vocabulary for specifying formatting semantics
An XSL style sheet tells a processor how to convert the logical structure of the XML file into the presentational structure of the transformed document
The results tree is the presentational structure that can be displayed by a browser, printed, etc.
It is important to understand that the transformation part (XSLT) can be used independently of the formatting semantics (XSL-FO)
Sadly, most XSL implementations support only the transformation part of XSL
Process elements more than once
Suppress elements in one place and present them in another
Add generated text to the presentation
|
||||||||||||||||||||||||
| Page by Howard Rosenbaum | |
| Find me at hrosenba@indiana.edu | You are here: http://www.slis.indiana.edu/hrosenba/www/Workshops/XML/Demo/xsl.html |