Created
October 13, 2015 14:06
-
-
Save ysb33r/b271c2739fda8f69fee1 to your computer and use it in GitHub Desktop.
Processing XInclude with XmlSlurper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Not quite sure if this will work as expected, but probably | |
// worth a trying if you want xi:include documents to be inlucdd. | |
def spf = javax.xml.parsers.SAXParserFactory.newInstance() | |
spf.namespaceAware = true | |
spf.setXIncludeAware ( true ) | |
def parser = new XmlSlurper(spf.newSAXParser()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment