Forum OpenACS Development: XQL DTD available for CVS HEAD

Collapse
Posted by Bart Teeuwisse on
Another advantage of tDOM over nsxml is that it processes XQL files that include a DOCTYPE. If your editor can use DTDs when editing XML files this might be of interest.

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/.

/Bart

Collapse
Posted by Steve Manning on
Bart

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

- Steve

Collapse
Posted by Bart Teeuwisse on
Steve,

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/.

/Bart