I'm tring to use XmlSlurper to process some XML, replacing all 'id'
attributes with a prefixed value. I must have misunderstood something about
GPath, because I'm ending up processing more elements than I want. Basically
my XML is like this:
My code is below. I am HOPING to process all nodes, at any level, contained
within the <form> element (so, abc, def, etc). What I'm finding, though, is
that the <form> element itself is being processed as well. How can I avoid
this?
--
View this message in context:
http://groovy.329449.n5.nabble.com/GPath-find-all-elements-with-a-given-attribute-tp5680541.html
Sent from the groovy - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email