jQuery in Action, 3rd edition
The moose likes XML and Related Technologies and the fly likes i m tired of searching for xml parser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "i m tired of searching for xml parser" Watch "i m tired of searching for xml parser" New topic

i m tired of searching for xml parser

prakash rm

Joined: May 17, 2001
Posts: 5
Somehow i am unable to find the ibm xml parser ??.
I went to the site http://www.alphaworks.ibm.com/tech/xml4j/
but could not find xml4j.jar . Please tell me the exact location or mail it to me .
My problem is that i want to create an xml file from tha data received from the database .
I need a document object which i feel can be obtained as given below using ibm parser .
Document doc = (Document)Class.
Can u do this using sun's parser or any other parser . Can u please give me the code if it is possible .
How do i convert the document object to a xml file .Do i have to use java.io package or is there any other simpler way ??.

Thanx and regards ,
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
If you want to create a xml file from data inside your business object you do not need to use a parser just add tag in a file.
it is more simple for our case. If i miss understand what you want to do: You can parse XML Stream using xerces parser for example ( sorry but i don't know about xml4j ) at http://xml.apache.org/dist/xerces-j/
Benjamin l´┐Żonard
I agree. Here's the link: http://aspose.com/file-tools
subject: i m tired of searching for xml parser
It's not a secret anymore!