Summary

I l @ ve RuBoard

The Xerces parser offers a way to easily read and write XML data from Java. You have your choice of two different methods of parsing: You can use SAX, which is an event-driven parser that uses callbacks to event handlers that you provide, or you can use DOM, which loads the entire XML document into an object-oriented tree of nodes that your code can walk to discover content.

You can also use DOM to create a brand-new hierarchy and then generate XML output based on it. This has the advantage of always generating syntactically correct XML.

More packages are being written each day to use XML in some way. In fact, it is nearly impossible to develop a major application anymore without needing to read or write XML. As a result, learning to use the Java XML tools is now a critical skill.

I l @ ve RuBoard


MySQL and JSP Web Applications. Data-Driven Programming Using Tomcat and MySQL
MySQL and JSP Web Applications: Data-Driven Programming Using Tomcat and MySQL
ISBN: 0672323095
EAN: 2147483647
Year: 2002
Pages: 203
Authors: James Turner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net