© Jeff Friesen 2016

JEFF FRIESEN, Java XML and JSON, 10.1007/978-1-4842-1916-4_6

6. Transforming XML Documents with XSLT

Jeff Friesen

(1)Dauphin, Manitoba, Canada

Along with SAX, DOM, StAX, and XPath, Java includes the XSLT API, for transforming XML documents. This chapter 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 consisting ...

Get Java XML and JSON now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.