_sax.endDocument();
break;
case Node.ELEMENT_NODE:
// Gather all attribute node of the element
AttributeList attrs = new AttributeList();
NamedNodeMap map = node.getAttributes();
int length = map.getLength();
for (int i=0; i<length; i++ ) {
Node attr = map.item(i);
attrs.add(attr.getNodeName(), attr.getNodeValue());
}
// Generate SAX event to start element
_sax.startElement(node.getNamespaceURI(), node.getLocalName(),
node.getNodeName(), attrs);