Is there a DTD for the DTD?

68 Views Asked by At

I am writing a DTD and I think it would be nice to know, if it is valid. For that, I need the DTD (description) of the DTD (document type).

Does it exist?

1

There are 1 best solutions below

4
kjhughes On BEST ANSWER

I need the DTD (description) of the DTD (document type).

No, a DTD for DTDs does not exist. DTDs are designed to describe XML, and DTDs are not XML. You may be thinking of an XSD for XSD, which is viable because XSDs are XML.

I want [a] formal description.

A formal description of DTD in EBNF notation is included in the formal specification of XML.