O'Reilly logo

Java™ Web Services Unleashed by Mark Wutka, Joseph Weber, Arthur Ryman, K. Scott Morrison, Benoît Marchal, Matthias Kloppmann, Steven Haines, Darren Govoni, Francisco Curbera, Frank Cohen, Robert Brunner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

XSLT

The XML Style Sheet Language (XSL) Transformation (XSLT) API is used for transforming an XML document into any other form; the most common use of XSLT for Web development is for transforming XML documents into HTML for presentation in a Web browser.

The JAXP defines an XSLT Transformer that reads an XML document and applies to it the rules specified in a style sheet to produce a resultant document. Figure 12.3 shows this graphically.

Figure 12.3. The XSLT process.

The JAXP provides XSLT support through the javax.xml.transform package. The javax.xml.Transformer class performs the actual transformation and, in a similar fashion to the way a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required