Forum OpenACS Development: Re: Heads Up: tDOM will replace nsxml
Please follow the installation instructions included with tDOM for AOLserver 3.x EVEN when you are running AOLserver 4.x. As package require only works in AOLserver 4.x we'll have to go with the smallest common denominator.
Checkout irc-logger (http://cvs.openacs.org/cvs/openacs-4/contrib/packages/irc-logger) for an example of how to use tDOM in OpenACS.
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/.