Révision 3215
tmp/org.txm.groovy.core/src/groovy/org/txm/macro/table/Table2XMLMacro.groovy (revision 3215) | ||
---|---|---|
208 | 208 |
if (textSelectorValue == null || (textSelectorValue != null && textSelectorValue.matches(textSelector[1]))) { |
209 | 209 |
if (debug) println "Processing text: $id" |
210 | 210 |
|
211 |
if (toWrite.size() <= 1 && textContentColumnList.size() == 0) { |
|
212 |
println "Removing empty <text>: $id" |
|
213 |
continue |
|
214 |
} |
|
215 |
|
|
211 | 216 |
File outputfile = new File(outputDirectory, id+".xml") |
212 | 217 |
|
213 | 218 |
XMLOutputFactory factory = XMLOutputFactory.newInstance() |
Formats disponibles : Unified diff