[XML-SIG] New 4DOM to meet unofficial Python binding

Mike Olson Mike.Olson@FourThought.com
Fri, 26 Nov 1999 20:54:31 -0700


One quick note on a typo so they is no confusion.  The second example of attribute
retrieval should be:
cn = n._get_childNodes()

Mike

uche.ogbuji@fourthought.com wrote:

> We have updated the core of 4DOM to meet the unofficial Python/DOM binding as
> we've been discussing.  That means that the following conventions are followed:
>
> cn = n.childNodes
> cn = n._get_childNodes
> n.nodeValue = 'Value'
> n._set_nodeValue('Value')
>
> Note that NodeLists and NamedNodeMaps are still pythonic, i.e. they support
> all the list and dictionary interface.
>
> DOM level 1 and 2 core and traversal are supported.
>
> The HTML code has not been updated to the new binding, and so it will not
> work.  Also the SAX2 driver is not yet updated.  We hope to have a full beta
> available soon.
>
> Note that 4XPath and 4XSLT have not yet been updated, so be careful where you
> install the 4DOM alpha if you use those packages.
>
> We would appreciate comments from those who have participated in the DOM
> binding discussion, and, of course, from anyone who is interested in DOM in
> Python.
>
> Please download it from
>
> ftp://FourThought.com/pub/4Suite/4DOM
>
> The files are 4DOM-0.9.0a1.tar.gz and 4DOM-0_9_0a1.zip
>
> Note that there is no longer a make process necessary.  Just unpack it to a
> spot in your PYTHONPATH.  This also means that the difficulties on different
> platforms are a thing of the past.  However, you still need the 4Suite-base
> package version 0.6.1 at
>
> ftp://FourThought.com/pub/4Suite
>
> --
> Uche Ogbuji
> FourThought LLC, IT Consultants
> uche.ogbuji@fourthought.com     (970)481-0805
> Software engineering, project management, Intranets and Extranets
> http://FourThought.com         http://OpenTechnology.org
>
> _______________________________________________
> XML-SIG maillist  -  XML-SIG@python.org
> http://www.python.org/mailman/listinfo/xml-sig

--
----------------
Mike Olson
Consulting Member
FourThought LLC
http://www.fourthought.com  http://opentechnology.org