Summary

Today you have looked at transforming XML documents into other data formats. The XSLT standard defines an XML stylesheet format 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 (the same XPath notation is also used with XPointers in XML documents)

A new technology designed to address some ...

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