aspose file tools
The moose likes XML and Related Technologies and the fly likes Reading XML Data into memory Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "Reading XML Data into memory" Watch "Reading XML Data into memory" New topic
Author

Reading XML Data into memory

Rosa Lee
Greenhorn

Joined: Nov 28, 2001
Posts: 2
Hey There!
I looked through the other posts, and hope i am not repeating a question here...
I am trying to read/write the pcdata from an xml file into/from memory, using a Java servlet. I have been reading about JAXP, JAXB, SAX, the DOM etc, but haven't found any simple examples. TO be honest I am now rather confused after reading about the different approaches to this.
I need a pointer to a simple complete example, or at least a list of what APIs etc I need in my 'toolbox'.
Thank you so much for any help or info,
Rosa
David Peterson
author
Ranch Hand

Joined: Oct 14, 2001
Posts: 154
This chapter from Professional JSP might help you get started.
http://www.jspinsider.com/tutorials/jsp/xml/4958_Chap12.pdf
David
Rosa Lee
Greenhorn

Joined: Nov 28, 2001
Posts: 2
Thanks David!
This chapter was very clear in expressing the differences between SAX, DOM, and JDOM.
Rosa
*-)
 
I agree. Here's the link: jrebel
 
subject: Reading XML Data into memory
 
Similar Threads
Help with approach to XSLT transformation of XML received via http
Woodstox example code
XML Help
what is difference between dom and sax parser??
Books