Summary

The previous chapters explained XML and its related technologies, and demonstrated how to parse an XML document using the classes provided in the JAXP bundle. Being able to parse an XML document is a big part of the XML picture, but it is not the complete picture.

There are some excellent facilities available to transform an XML document from one format to another. In this chapter we saw how XSL templates build on various standards to provide a useful scripting language for describing the transformation process. Using an XSL script file and the various classes in the javax.xml.transform package, it is a fairly simple process to perform XML transformations using Java, as we demonstrated in this chapter.

Java applications must also be able ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software 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.