Lists Home |
Date Index |
Leigh Dodds writes:
> Here's a related question: is the W3C DOM really the right design
> choice for any application other than a browser? IOW, applications
> where several vendors have to agree on an exact representation of a
> document, and expose that consistently. I've come the conclusion
> (perhaps belatedly :) that DOM is best in this scenario, it's not
> necessarily the right choice for an object model for a single
I've found the DOM very workable and on-target for a
document-conversion project (LaTeX->XML), where the specific "shape"
of the generated XML is very important for someone that will then use
the generated XML as the canonical format for document maintenance,
but that's an application where the application's object model
essentially *is* the DOM.
Otherwise the DOM seems incredibly painful to use directly.
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation