O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

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

Transforming XML Documents

The task of converting or transforming an XML document is not trivial. It involves finding a path to specific elements in the document, parsing the document elements and values and mapping them to new values, and potentially applying decision logic at many points along the way.

Fortunately, there are some very useful XML tools available for transformation of documents. APIs such as Saxon provide transform capabilities, and a transform API is part of JAXP. These APIs make use of the Extensible Stylesheet Language for Transformation (XSLT) scripting language to describe the transformation process. This concise language, in combination with the XPATH descriptive syntax, provides a flexible facility for describing XML transformation. ...

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