Node att = attrs.item(i);
if (att.getNamespaceURI() != null &&
att.getPrefix() != null &&
att.getNamespaceURI().equals(Constants.NS_URI_XMLNS) &&
"xmlns".equals(att.getPrefix())) {
Mapping map = new Mapping(att.getNodeValue(), att.getLocalName());
addMapping(map);
}
if(att.getLocalName() != null) {
dest.addAttribute(att.getPrefix(),
(att.getNamespaceURI() != null ? att.getNamespaceURI() : ""),