aspose file tools
The moose likes Groovy and the fly likes Groovy findAll for XML attribute values Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Other Languages » Groovy
Reply Bookmark "Groovy findAll for XML attribute values" Watch "Groovy findAll for XML attribute values" New topic
Author

Groovy findAll for XML attribute values

Mark Lorenz
Greenhorn

Joined: Mar 14, 2010
Posts: 1
I have an XML doc that includes tags like this:


These tags occur multiple times in the doc. I need to see if the statusCode code value is any of the nonEndStates as shown in my Groovy code snippet:



I know I'm finding all the proper tags, but the logic doesn't work. Can someone explain what I'm doing wrong? Thanks!
 
 
subject: Groovy findAll for XML attribute values
 
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture