Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Groovy findAll for XML attribute values

 
Mark Lorenz
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic