Forum Discussion
sharmameera
Contributor
Thanks! I will try that out.
sharmameera
9 years agoContributor
Thanks for the information Rao.
The script was really simple, and works fine!
def rootNode = new XmlSlurper().parseText('My CData Text')
assert rootNode.name() == 'The Root node in my CData'
assert rootNode.State.text() == AZ (State being one of the nodes in the CData).
Thanks!
Related Content
- 6 months agomacheshmeh