Node Subtree

Michael Ekstrand mekstran at scl.ameslab.gov
Fri Oct 14 09:54:35 EDT 2005


On Friday 14 October 2005 08:40, Vinci wrote:
> I'm using Python to work on Xml documents importing the minidom
> module: in particular I need to get the whole subtree rooted at a
> given node "n".
>
> Does anyone know whether there is a way to find it with a function
> /class or by importing another module?

Look into the XPath code included in PyXML 
(http://pyxml.sourceforge.net).

- Michael



More information about the Python-list mailing list