Home arrow XML arrow Page 5 - XML Parsing With SAX and Xerces (part 2)

Endnote - XML

The first part of this article demonstrated the basics of the Xerces XML parser, explaining how it could be used to process XML documents in a non-Web environment. This concluding section closes the circle, taking everything you've learned so far and demonstrating how it can be applied to create dynamic Web pages from static XML documents with Xerces.

  1. XML Parsing With SAX and Xerces (part 2)
  2. The Write Stuff
  3. Nailing It To The Wall
  4. When Things Go Wrong
  5. Endnote
By: icarus, (c) Melonfire
Rating: starstarstarstarstar / 1
February 12, 2002

print this article


That's about it for this article. Over the preceding pages, you learned more than you ever wanted to know about the Xerces SAX parser, using it to develop simple XML-based applications in both Web and non-Web environments. You (hopefully) understood how SAX works, gained an insight into what callback functions do, and learned how to use Xerces' interfaces in combination with simple Java constructs to quickly and easily create dynamic Web pages from static XML documents.

I hope you enjoyed it, and that it helped you to gain a greater understanding of how to process XML and use it in a Java-based environment - both on and off the Web. In case you'd like more information on the topic, you should consider bookmarking the following sites:

The official Xerces Web page, at http://xml.apache.org/xerces-j/

The Xerces FAQ, at http://xml.apache.org/xerces-j/faq-write.html

The SAX project, at http://www.saxproject.org/

The Xerces-Java Quick Start, at http://www.ecerami.com/xerces/

See you soon!

Note: All examples in this article have been tested with JDK 1.3.0, Apache 1.3.11, mod_jk 1.1.0, Xerces 1.4.4 and Tomcat 3.3. Examples are illustrative only, and are not meant for a production environment. YMMV!

>>> More XML Articles          >>> More By icarus, (c) Melonfire

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Google Docs and Xpath Data Functions
- Flex Array Collection Sort and Filtering
- The Flex Tree Control
- Flex List Controls
- Working with Flex and Datagrids
- How to Set Up Podcasting and Vodcasting
- Creating an RSS Reader Application
- Building an RSS File
- An Introduction to XUL Part 6
- An Introduction to XUL Part 5
- An Introduction to XUL Part 4
- An Introduction to XUL Part 3
- An Introduction to XUL Part 2
- An Introduction to XUL Part 1
- XML Matters: Practical XML Data Design and M...

Developer Shed Affiliates


Dev Shed Tutorial Topics: