I have some elements that have the same tag name, but equal different values. The example below displays my parsing.
<Report>
<ReportHost name= 2.3.3.3><HostProperties>
<tag name="x"> Monday...</tag>
<tag name="z"> Linux.....</tag>
My issue is how do I capture the text after the string "x".. and "z" Currently I have
langs.Report.ReportHost.each{ReportHost->
${ReportHost.HostProperties.tag['@name']}"
But this is only grabbing x and z. What syntax do I need to grab the text after that which including Monday and Linux.