namespace = atts.getNamespace(i);
if ((nsDecls != null) && (namespace != null)) {
prefix = nsDecls.getNamespacePrefix(namespace);
}
else prefix = null;
node.addAttribute( new AnyNode(AnyNode.ATTRIBUTE,
atts.getName(i),
prefix, namespace,
atts.getValue(i)) );
}
}