Hi all,
I am trying to get the raw data from the database and formatting it to xml document and again im reading the so created xml
doc to filter out some data and create a new one.
i have written a pgm to write an xml doc using the data from database but when i use this xml file to filter some data ...i am getting SAXPparseException:Element "info" not declared.my xml file doesnt have schema..
this is how i created the root element,
DOMImplementation di = db.getDOMImplementation ();
Document doc = di.createDocument (null, "info", null);
Element addresses = doc.getDocumentElement ();
and to the addresses i am appending the childelements.
can anybody help me to solve this problem,
thanks in advance,
sudhi