if( qName.equals( "mn" ) ){
inMn = true; level = 0;
Attributes att = new AttributesImpl();
super.startElement(ns, "mn-group", "mn-group", att);
this.ns = ns;
} else if( qName.equals( "mo" ) ){
String cls = attr.getValue( "class" );
if( (cls != null) && cls.equals("MathClass-punc") ){
inMn = true; level = 0;
Attributes att = new AttributesImpl();
super.startElement(ns, "mn-group", "mn-group", att);
this.ns = ns;
} }
-_-_-
if( !qName.equals( "mn" ) ){
if( qName.equals( "mo" ) ){
String cls = attr.getValue( "class" );
if( (cls == null) || !cls.equals("MathClass-punc") ){
inMn = false;
super.endElement(ns, "mn-group", "mn-group");
}
} else {
inMn = false;
super.endElement(ns, "mn-group", "mn-group");
} }
-_-_-