© Jeff Friesen 2019
Jeff FriesenJava XML and JSONhttps://doi.org/10.1007/978-1-4842-4330-5_6

6. Transforming XML Documents with XSLT

Jeff Friesen1 
(1)
Dauphin, MB, Canada
 

Along with SAX, DOM, StAX, and XPath, Java includes the XSLT API, for transforming XML documents. Chapter 6 introduces you to XSLT.

What Is XSLT?

Extensible Stylesheet Language (XSL) is a family of languages for transforming and formatting XML documents. XSL Transformation (XSLT) is the XSL language for transforming XML documents to other formats, such as HTML (for presenting an XML document’s content via a web browser).

XSLT accomplishes its work by using XSLT processors and stylesheets. An XSLT processor is a software component that applies an XSLT stylesheet (an XML-based template ...

Get Java XML and JSON: Document Processing for Java SE 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.