File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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

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,

I agree. Here's the link:
subject: SAX, DTD problem for a NewBie
jQuery in Action, 3rd edition