Hi all,

 I have a question:

I would like to know if it is possible, using REXML, get full path from
root, of document XML, to leaf node, through a XPath query?


example with l'XML:

<primo>
   <secondo>
       <terzo id='3'>
       <terzo/>
   <secondo/>
   <quarto>
   ...
   <quarto/>
<primo>


Xpath: //terzo[@id='3']

Output:
      //primo/secondo/terzo[id='3']

Thank's in advance!
Alberto
-- 
Posted via http://www.ruby-forum.com/.