groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Balachandran Sivakumar <>
Subject XmlSlurper and XML includes
Date Tue, 13 Oct 2015 16:44:45 GMT

          Can someone please help me using  XmlSlurper with an xml document
that uses xml includes ? I have an xml that is  something like this

<root namespaces.....>
  <xi:include href="another.xml" parse="xml" xpointer="xpointer(//path)"/>

And, another.xml has
  <subpath attr="value"/>

With XmlSlurper, I am able to access root.somenode.whatever. But I don't
know how to access the included xml's nodes and attributes. Can someone
please help me with this ? Thanks

Thank you
Balachandran Sivakumar

View raw message