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

XML Parsing With SAX and Xerces (part 2)

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.

TABLE OF CONTENTS:
  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
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
In the first part of this article, I introduced you to the Xerces XML parser, explaining how it could be used to parse XML documents using an event-driven approach called SAX. I also demonstrated how the parser worked by using it in a couple of simple Java programs, and explained some of the interfaces and callbacks available in the API.

Now, writing a Java program to parse an XML document is all well and good. However, it's not really all that useful if you're a Web developer and your primary goal is the dynamic generation of Web pages from an XML file. And so, this concluding part takes everything you learned last time and tosses it out into the wild and wacky world of the Web, demonstrating clearly how Java, JSP, Xerces and XML can be combined to create simple, real-world Web applications. Take a look!

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

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

XML ARTICLES

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