Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is also possible to parse XML documents using namespaces:

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