• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

i m tired of searching for xml parser

Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!