wood burning stoves 2.0*
The moose likes Groovy and the fly likes Help me how to parse XML in Groovy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Help me how to parse XML in Groovy" Watch "Help me how to parse XML in Groovy" New topic
Author

Help me how to parse XML in Groovy

Suman Alapati
Greenhorn

Joined: Apr 11, 2012
Posts: 2
Hi All,

Please help to retrieve : offerId and offerName Name Values which are 803 and VContract in Groovy xml Parsing



Thanks in Advance,
Suman alapati.
Suman Alapati
Greenhorn

Joined: Apr 11, 2012
Posts: 2
Hi All,

Can some one please help me on this issue


Thanks in Advance,
Suman Alapati.
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1848
    
  16

XML is one of the things Groovy is really good at. Try using XmlSlurper.


No more Blub for me, thank you, Vicar.
 
wood burning stoves
 
subject: Help me how to parse XML in Groovy