Topics in this Chapter
Generating Beans from XML
Simple API for XML (SAX)
SAX Custom Tags
Document Object Model (DOM)
DOM Custom Tags
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
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 ...