build a hierarchical tree, without using DOM,schema, and sax using expat parser and c

build a hierarchical tree, without using DOM,schema, and sax using expat parser and c

Post by Wildemar W » Sat, 17 Nov 2007 22:46:35



Not sure if I completely follow you. Maybe ElementTree could be of help?

<URL: http://www.yqcomputer.com/ ;

since Python 2.5 it is even in the standard lib:

<URL: http://www.yqcomputer.com/ ;

/W
 
 
 

build a hierarchical tree, without using DOM,schema, and sax using expat parser and c

Post by Stefan Beh » Sun, 18 Nov 2007 03:24:59


Just a quick note that it actually uses expat for parsing, so there's no need
to fiddle with it on your own - especially since it's pretty hard to get any
faster than the C implementation of ET, cElementTree, is already...

Stefan