def response = new XmlSlurper().parseText(books)
def titles = response.'**'.findAll { node -> node.name() == 'title' }*.text()
assert titles.size() == 4
--------------------------------------------------------------
----------------------------------------------------------
No comments:
Post a Comment