O'Reilly logo

Advanced JavaServer Pages™ by David M. Geary

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

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

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