Node Subtree

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vinci

    #1

    Node Subtree

    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!

    --
    Alevi

  • Michael Ekstrand

    #2
    Re: Node Subtree

    On Friday 14 October 2005 08:40, Vinci wrote:[color=blue]
    > 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?[/color]

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

    - Michael

    Comment

    Working...