March 25th, 2003, 10:10 AM
how creating DTDGrammar parser
I'm student and I'm trying to make an interface to create valid xml documents.
I don't know how to do that.
I know I need to parse the DTD to get the Elements, Attributes, values,but don't know how to implement it.
could anybody help me?
March 25th, 2003, 03:50 PM
I'm not quite sure of the proper terminology but XML is a subset of SGML.
I think a DTD is described in SGML? or at least described the same way SGML is. (anybody want to let us know exactly?)
Anyway for more info on parsing a DTD just go lookup SGML and SGML parsers and you should be on your way.