Solved
Forum Discussion
nmrao
3 years agoCommunity Hero
Please see if this is what you need?
def xml = new XmlParser().parseText(str)
def result = xml.'**'.findAll{it.@Type == 'abg'}
result.each { cool ->
cool.'**'.findAll {it.@Tag == 'A'}.each {
log.info "Type = ${cool.@Type} and Tag = ${it.@Tag}"
}
}