Digester: Extracting node name

Posted by CaptainHastings on Stack Overflow See other posts from Stack Overflow or by CaptainHastings
Published on 2010-01-29T21:07:51Z Indexed on 2010/05/19 17:10 UTC
Read the original article Hit count: 129

Filed under:
|
|
|

Hi Guys,

Is it possible to extract the node name using apache digester?

So, if the xml looks like

   <furniture>
     <sofa>
       .....
     </sofa>
     <coffeeTable>
       .....
     </coffeeTable>
   </furniture>

is it possible to extract the node name "sofa", "coffeeTable"?

I know it is possible using xpath but is it possible using digester?

Cheers

© Stack Overflow or respective owner

Related posts about apache

Related posts about Xml