O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

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

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 ...

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