Hi,
let's back up a bit here - you say you want to extract all Calling Number values in the document? Maybe you should use GroovyUtils/XmlHolder instead;
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( "getRatedEventList-dateRange#Response" )
holder.namespaces( "m", "
http://vonage.com/services/sl" )
for( a in holder.getNodeValues( "//m:eventAttributes[m:name='Calling Number']/m:value" ))
log.info "Got number [$a]"
Does that work any better!? If not, can you please attach the entire response you are working with so we can work from that as well.. thanks..
/Ole
SmartBear Stockholm