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?
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?
Copyright © 2021 Jogjafile Inc.
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.
A formal description of DTD in EBNF notation is included in the formal specification of XML.