Two Laptop Bag*
The moose likes XML and Related Technologies and the fly likes SAX, DTD problem for a NewBie Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "SAX, DTD problem for a NewBie" Watch "SAX, DTD problem for a NewBie" New topic
Author

SAX, DTD problem for a NewBie

Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Hi Guys,

I have a bit of a issue,

I've mastered basic Java SAX - which works for XML documents, however I now a DTD document, I have no idea how to use a DTD in conjunction with a SAX parser,

I'll also have a database, as in I have to read an XML feed and store it inside a DB.

I suspect I will have to load the DTD first.. where should I save this.. in my DB? or Do I re-read the DTD everytime I refer to the XML feed/.

Does anyone have any good tutorials that I could follow, or show me example code?

Thanks for your time in advance,

 
jQuery in Action, 2nd edition
 
subject: SAX, DTD problem for a NewBie