String uri       = atts.getURI(i); String qname     = atts.getQName(i); String localname = atts.getLocalName(i); String value     = atts.getValue(i); tempNode = new AnyNode(AnyNode.ATTRIBUTE, localname, null, uri, value); _node.addAttribute(tempNode);
qName = atts.getName(i); value = atts.getValue(i);   if (!qName.startsWith(XMLNS_PREFIX)) { tempNode = new AnyNode(AnyNode.ATTRIBUTE, getLocalPart(qName), null, null, value); _node.addAttribute(tempNode); }
    public void startElement(String namespaceURI,  String localName,                            String qName, Attributes atts)          throws SAXException    {                createNodeElement(namespaceURI, localName, qName);        //empty the namespaces stack        //that must have been filled by startPrefixMapping()        AnyNode tempNode = null;        while (!_namespaces.empty()) {           tempNode = (AnyNode)_namespaces.pop();           _node.addNamespace(tempNode);        }        //process attributes        for (int i=0; i<atts.getLength(); ++i) {            String uri       = atts.getURI(i);            String qname     = atts.getQName(i);            String localname = atts.getLocalName(i);            String value     = atts.getValue(i);            tempNode = new AnyNode(AnyNode.ATTRIBUTE, localname, null, uri, value);            _node.addAttribute(tempNode);        }        tempNode = null;    }