Chapter 11. XML
Topics in this Chapter
Generating XML
Generating Beans from XML
Postprocessing XML
Parsing XML
Simple API for XML (SAX)
SAX Custom Tags
Document Object Model (DOM)
DOM Custom Tags
Transforming XML
Using JSP and XSLT Together
Using XSLT in a Custom Tag to Produce HTML
Using XSLT to Produce JSP at Compile Time
Using XSLT at Compile Time Vs. Runtime
Conclusion
Java and XML are the top contenders to power e-commerce in the early 21st century. Portable code and portable data, respectively, Java and XML are complemented by two synergistic technologies: JSP and XSLT. This chapter demonstrates all four technologies and shows how to use them together.
There are three fundamental ways to manipulate XML:
Generate it from one or more data sources
Parse it and ...
Get Advanced JavaServer Pages™ 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.