Day 17. Transforming XML Documents

In Day 16's lesson, “Integrating XML with J2EE,” you studied the basic features of the Extensible Markup Language (XML) and the Java for XML Processing API (JAXP). You can now create XML documents using DOM or Java OutputStream/Writer objects and process existing XML documents using SAX and DOM. As long as you use XML to store information or transfer information between different components in your application, what you already know about XML is probably sufficient.

But for many applications, you will need to transform your XML documents into other formats, such as HTML, for presentation to a Web client. You may also need to generate a new XML document from an existing one where the new document uses a different ...

Get Sams Teach Yourself J2EE™ in 21 Days 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.