faqts : Computers : Programming : Languages : Python : Common Problems : Data Structures

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 6 people (50%) answered Yes
Recently 0 of 3 people (0%) answered Yes

Entry

Is there an example of a TreeWalker implementation, preferably in Python?

May 15th, 2000 05:43
unknown unknown, Kevin Russell


There's a DOM-walker implementation in the XML-SIG's distribution, which 
you should already have if you've gotten 4DOM to work. Look for 
walker.py in the dom subdirectory.

A year ago I posted some toy examples of how to use it on the XML-SIG
mailing list:

    http://www.python.org/pipermail/xml-sig/1999-February/002546.html

Read the whole thread, since the follow-ups on suggest important
improvements.