Node Subtree

V

Vinci

Hi,
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?

Thank you!
 
M

Michael Ekstrand

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,268
Messages
2,571,344
Members
48,019
Latest member
Migration_Expert

Latest Threads

Top