| Serializing Graphs of Data in XML | Table of contents | Indexes | XML: The way toward the virtual library | |||
XSL Theory and Practice |
| Neil Bradley |
| Senior Consultant |
| ThomsonConsulting International
31st Floor Centre Point New Oxford Street London United Kingdom WC1A 1PG Phone: +44 171 917 1491 Email: neil.bradley@thomsonconsulting.com Web: www.thomsonconsulting.co.uk |
Biographical notice: |
ABSTRACT: |
XSL ![]() |
This paper provides an overview of the progress and scope of a new stylesheet language called XSL (eXtensible Stylesheet Language) . It is compared with previous proprietary and standard attempts, and each feature of the language is briefly explained. |
What Is a Stylesheet Language? |
Introducing XSL |
Pattern Matching |
Templates |
<template match="Para">...</template> |
<template match="Para"> <apply-templates/> </template> |
Transformations |
<template match="Note"> <highlight style="bold">NOTE:</highlight><apply-templates/> </template> |
<template match="Note"> <apply-templates/> TITLE: <apply-templates <highlight style="bold"> select="ancestor(chapter)/title"</highlight>/> </template> |
Formatting |
<block font-weight="bold">This is a note.</block> |
Helper Features |
Large stylesheets can be made simpler to use and more re-usable by splitting them into smaller pieces, then using the importing capability to re-combine them in different ways. |
What's Out There Now? |
The Java-based XSL processor called LotusXSL is available from 'www.alphaworks.ibm.com/formula/lotusxsl'. |
The Java-based XSL processor called XT is available from 'www.jclark.com/xml/xt.html'. |
The Java-based XSL processor called Koala XSL Engine is available from 'www.inria.fr/koala/XML/xslProcessor/'. |
Internet Explorer Beta 5 also accepts XML documents that reference XSL stylesheets, but only works if the stylesheet transforms the XML document into an HTML document. |
Summary |
| Serializing Graphs of Data in XML | Table of contents | Indexes | XML: The way toward the virtual library | |||