Andrew Dunstan wrote:
> Perhaps the document should be stored in canonical form.
That kills the DTD, the id attributes, thus crippling XPath, and it
looks horrible on output. I don't think that can be accepted.
Canonical form is useful for comparing documents, but not for operating
on them, I think.