Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: changed parserText to parseText

...

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]