You can get a sense
of whether your DTD has any syntax errors by creating an XML document that uses
it and using one of the sample programs (such as DOMPrint) to parse the
document. Xerces will report any problems in the DTD that it detects. Of course,
this won't tell you whether your DTD is correct.
As for where the
DTD's information is stored, I'm pretty sure that's been discussed in previous
messages. Check out the archives (http://marc.theaimsgroup.com/?l=xerces-c-dev).
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 2:50 AM
To: '[EMAIL PROTECTED]'
Subject: Parse DTD
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 2:50 AM
To: '[EMAIL PROTECTED]'
Subject: Parse DTD
Hi,all.
How to
parse a standalone DTD? I had written a DTD document using notepad.
I want to use xerces in the program to juddge if there
is any syntax error
in the DTD.How should I do?
Which API should I use? I am a beginner of
xerces.I have been browsing the helping doc all the day,but I can't
find
what I want:(,.Even worse,I almost don't
know how to find it.
And another question.Once I parsed the DTD,where
is the structrue of the
DTD stored?
Thanks a
lot.
Super
