Forum Discussion
omatzura
18 years agoSuper Contributor
Hi!
getNodeValues returns a string array of node values, so you need to specify an xpath expression that selects multiple nodes.. for your document you could try
def items = holder.getNodeValues( "//Foutmelding/descendant::*")
for (item in items) { log.info( item ) }
which will dump the contents of all descendants to Foutmelding
regards,
/Ole
eviware.com
getNodeValues returns a string array of node values, so you need to specify an xpath expression that selects multiple nodes.. for your document you could try
def items = holder.getNodeValues( "//Foutmelding/descendant::*")
for (item in items) { log.info( item ) }
which will dump the contents of all descendants to Foutmelding
regards,
/Ole
eviware.com
Related Content
Recent Discussions
- 15 years ago