This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Author

i m tired of searching for xml parser

prakash rm
Greenhorn

Joined: May 17, 2001
Posts: 5
Hi,
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.
forName("com.ibm.xml.dom.DocumentImpl").
newInstance();
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 ,
Prakash
Anonymous
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
evisor
www.evisor.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: i m tired of searching for xml parser
 
Similar Threads
XML Parser
Xerces Vs XML4j
is asp required
problem downloading software
required XML tools