Revision 724 tmp/org.txm.groovy.core/src/groovy/org/txm/scripts/teitxm/Xml2Ana.groovy

Xml2Ana.groovy (revision 724)
43 43
import org.txm.importer.filters.*;
44 44
import org.txm.utils.AsciiUtils;
45 45

  
46
// TODO: Auto-generated Javadoc
47 46
/**
48 47
 * The Class Xml2Ana.
49 48
 *
......
146 145
	def anabalises = [];
147 146
	protected void processStartElement()
148 147
	{
149
		//String localname = parser.getLocalName();
148
		println "checkTags=$checkTags";
149
		println "parser=$parser";
150 150
		firstElement++;
151
		if (checkTags.containsKey(parser.getLocalName()))
151
		if (checkTags.containsKey(parser.getLocalName())) {
152 152
			checkTags.put(parser.getLocalName(), true);
153

  
153
		}
154
		
154 155
		switch (parser.getLocalName()) {
155 156
			case wtag:
156 157
				if (!hasText) {

Also available in: Unified diff