Extensible Stylesheet Language (XSL) and XSL Transformations (XSLT)

In the preceding section, we showed how data such as a customer can be defined using XML, and we presented the rules that govern how XML is built. The next step is to transform the XML data into a different format—either another XML data format or something presentable such as XHTML by adding layout information.

When you send your customer data to a company that already uses an XML-based application, wouldn’t it be great if it were possible to easily transform your <customer> data into their <customer> format?

For this purpose, a set of standards was defined by the W3C accompanying XML. The Extensible Stylesheet Language (XSL), which has been a W3C recommendation since October ...

Get Cocoon: Building XML Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.