Forum Discussion
M_McDonald
16 years agoSuper Contributor
Google is your friend (for now...)
http://stackoverflow.com/questions/2268006/how-do-i-create-an-xpath-function-in-groovy
Using that solution, make use the count() xpath function:
[tt:znt8wj91]log.info processXml( testxml, 'count(//DocumentMetaData)' )[/tt:znt8wj91]
http://stackoverflow.com/questions/2268006/how-do-i-create-an-xpath-function-in-groovy
Using that solution, make use the count() xpath function:
[tt:znt8wj91]log.info processXml( testxml, 'count(//DocumentMetaData)' )[/tt:znt8wj91]