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
posted 14 years ago
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