Пример #1
0
 public void endElement(String uri, String localname, String qName) throws SAXException {
   elementCount--;
   if (elementCount > 0) super.endElement(uri, localname, qName);
 }
Пример #2
0
 public void startElement(String uri, String localname, String qName, Attributes attributes)
     throws SAXException {
   elementCount++;
   if (elementCount > 1) super.startElement(uri, localname, qName, attributes);
 }