Felipe Bastos Nunes, 10.11.2010 13:34:
Does any, libxml2 or lxml, collect children like jdom does in java?
     List<Element>  children = myRoot.getChildren();

Bah, that's *so* Java. ;)

ElementTree and lxml.etree do it like this:

    children = list(myRoot)

lxml also supports XPath and lots of other helpful stuff.

Stefan

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to