addNamespaceDecl("", attr.getLiteralValue());
addNamespaceDecl("xmlns", attr.getLiteralValue());
	public void addAttribute(AttributeConstructor attr) {		if(attr.isNamespaceDeclaration()) {			if(attr.getQName().equals("xmlns"))				addNamespaceDecl("", attr.getLiteralValue());			else				addNamespaceDecl(QName.extractLocalName(attr.getQName()), attr.getLiteralValue());		} else	if(attributes == null) {			attributes = new AttributeConstructor[1];			attributes[0] = attr;		} else {		    AttributeConstructor natts[] = new AttributeConstructor[attributes.length + 1];		    System.arraycopy(attributes, 0, natts, 0, attributes.length);		    natts[attributes.length] = attr;		    attributes = natts;		}	}