Sams Teach Yourself J2EE™ in 21 Days, Second Edition
by Martin Bond, Dan Haywood, Debbie Law, Andy Longshaw, Peter Roxburgh
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access