tags:

views:

88

answers:

2

Is there a library for Groovy that introspects XML and provides an object to access each node - like lxml for Python?

A: 

Like XmlParser

jjchiw
+1  A: 

Give XmlSlurper a shot. It makes consuming the XML and traversing the document almost trivial.

http://groovy.codehaus.org/Reading+XML+using+Groovy%27s+XmlSlurper

John Claus