Summary

Today you have looked at transforming XML documents into other data formats (mostly HTML). The XSLT standard defines an XML stylesheet that specifies how to transform an XML document into a new format. XSLT is commonly used to transform XML data into HTML for presentation by a Web browser.

An XSLT stylesheet defines a set of rules. Each rule

  • Is matched against elements in an XML source document

  • Defines transformations that are applied to the matched element to create the transformed data

  • Can be applied to a selected element or multiple elements including a complete tree hierarchy of elements

  • Uses the XPath notation to match XML elements

XSLT compilers are designed to address some of the performance problems of XSLT processors. An XSLT compiler ...

Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition 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.