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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access