Révision 3221

tmp/org.txm.groovy.core/src/groovy/org/txm/macro/table/Table2XMLMacro.groovy (revision 3221)
223 223
		if (debug) println "Processing text: $id"
224 224
		
225 225
		if (toWrite.size() <= 1 && textContentColumnList.size() == 0) {
226
			cpb.setMessage("Removing empty <text>: $id")
226
			cpb.setMessage("** Ignoring the empty $id text")
227 227
			continue
228 228
		}
229 229
		
......
475 475
			writer.writeCharacters("\t")
476 476
			writer.writeStartElement("item")
477 477
			writer.writeAttribute("type", matches[0][1])
478
			writer.writeStartElement("p")
478
//			writer.writeStartElement("p")
479 479
			matches = (desc =~ /(?s)([A-Z]{3}):? *([^;\n]+?) +[;\n]/)
480 480
			
481 481
			writer.writeStartElement("span")
482 482
			writer.writeCharacters(matches[0][1]+" ")
483 483
			writer.writeEndElement() // span
484 484
			writer.writeCharacters(matches[0][2])
485
			writer.writeEndElement() // p
485
//			writer.writeEndElement() // p
486 486
			writer.writeEndElement() // item
487 487
			writer.writeCharacters("\n")
488 488
		}

Formats disponibles : Unified diff