Revision 479 tmp/org.txm.groovy.core/src/groovy/org/txm/export/ts/ConcordanceBlocks.groovy

ConcordanceBlocks.groovy (revision 479)
20 20
		Writer writer = outfile.newPrintWriter(codec)
21 21

  
22 22
		println 'Reading XML File'
23
		def builder = DocumentBuilderFactory.newInstance().newDocumentBuilder()
23
		def factory = DocumentBuilderFactory.newInstance()
24
		factory.setXIncludeAware(true)
25
		def builder = factory.newDocumentBuilder()
24 26
		def records = builder.parse(xmlfile).documentElement
25 27
		println 'done.'
26 28

  

Also available in: Unified diff