...
| Code Block |
|---|
def ns = new groovy.xml.Namespace("http://www.example.com/book", 'ns')
def root = new XmlParser().parserTextparseText("...")
def authors = root[ns.book][ns.author]
|
...
| Code Block |
|---|
def ns = new groovy.xml.Namespace("http://www.example.com/book", 'ns')
def root = new XmlParser().parserTextparseText("...")
def authors = root[ns.book][ns.author]
|