Re: The DOM is not a model, it is a library!

> > keshlam@us.ibm.com writes:
> >
> >       fully implementing
> > the DOM is a major undertaking, and rest assured that if you only do a
> > subset _somebody_ will come back in the future and demand the rest.

TclDOM has almost all of the DOM Level 1 features and is only 2200 lines
of code.
This includes functionality that is not part of the DOM spec, such as parsing
and serialisation of XML.  ~2000 lines of code is hardly a mammoth undertaking.

It probably took me more time to read the spec than to implement the
package ;-)

Cheers,
Steve Ball

-- 
Steve Ball            |   Swish XML Editor    | Training & Seminars
Zveno Pty Ltd         |   Web Tcl Complete    |      XML XSL
http://www.zveno.com/ |    TclXML TclDOM      | Tcl, Web Development
Steve.Ball@zveno.com  +-----------------------+---------------------
Ph. +61 2 6242 4099   | Mobile (0413) 594 462 | Fax +61 2 6242 4099

Received on Wednesday, 6 October 1999 20:51:13 UTC