• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

error:SAXParseException:Element type "info" not declared

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sasparilla and fresh horses for all my men! You will see to it, won't you tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic