It's part of the XML specs. You can find them here.
Depending on your needs, and for completeness' sake: The DTD definition from the XML specs is a subset of the DTD definition that's part of SGML (ISO 8879:1986), which Quentin already referenced in his answer.