feroz_k
8 years agoOccasional Contributor
Groovy XML Script for Loops
Hi: I have an example XML as follows: <Element> <row></row> <row></row> <row></row> <row></row> <row></row> <row></row> <row></row> <row></row> </Element> Can someone suggest a s...
- 8 years ago
You could have provided above information for the first time itself. Why doing it in multi-times? Hoping that it is at least provided the nearest sample to the actual values this time.
Here is the script:
https://github.com/nmrao/groovyScripts/blob/master/xml/BuildXmlFromMultipleXmls.groovy
or http://groovyconsole.appspot.com/script/5148948125712384 ==> here you can also "execute script" online
Note you may replace "println" with "log.info" if you want to see the output in soapui.
Output :