Forum OpenACS Development: XQL DTD available for CVS HEAD
I've written a DTD for XQL files, which is available from http://www.thecodemill.biz/repository/xql.dtd. A write-up of how to use this DTD in Emacs is available from http://www.thecodemill.biz/publications/xql-dtd/.
Not wishing to belittle your hard work but a talk I attended recently suggested that in future we should be using XML Schemas in place of DTD's. http://www.w3.org/XML/Schema
I couldn't agree more. However, I do know that Emacs (and many other editor) can parse DTDs. Support for XML Schemas is spotty at this time.
When the time is right we can convert DTDs into XML Schemas using tools such as http://www.w3.org/2000/04/schema_hack/.