[XML-SIG] DOM code update

A.M. Kuchling akuchlin@cnri.reston.va.us
Mon, 5 Oct 1998 22:08:49 -0400


Fred Drake tried out the DOM code and pointed out various problems.
Monday evening's activity, now checked into CVS:

Reindented the body of the Node class.
Renamed the .index method to _index

Added some more __repr__ methods.

Fix the insertBefore(), appendChild(), and replaceChild() method to delete
    the node being added when it's already present in the tree.
Rename the __str__() functions to toxml(); this will be how you convert
    a DOM tree or subtree to XML.  (The method name may still change.)
Fixed getElementsByTagName(); it actually works now.
Fixed typo in ProcessingInstruction.toxml(); PIs end with ?>
Implemented normalize() and splitText().

Delete a Linux binary in the expat/ tree which messed up building on Solaris.
Deleted the top-level Makefile from CVS; Makefile.pre.in should build it.

-- 
A.M. Kuchling			http://starship.skyport.net/crew/amk/
As always, I'll leave it to a volunteer to experiment with this.
    -- Guido van Rossum, 20 Jan 1995