copy.setAttributeNS(null,"AttributeNamespace",src.getAttributeNS(null,"NameFormat"));
src=XML.getFirstChildElement(src,edu.internet2.middleware.shibboleth.common.XML.SAML2ASSERT_NS,"AttributeValue");
while (src != null) {
- src=XML.getNextSiblingElement(src,edu.internet2.middleware.shibboleth.common.XML.SAML2ASSERT_NS,"AttributeValue");
Element val=e.getOwnerDocument().createElementNS(XML.SAML_NS,"AttributeValue");
NamedNodeMap attrs = src.getAttributes();
for (int j=0; j<attrs.getLength(); j++)
while (src.hasChildNodes())
val.appendChild(src.getFirstChild());
copy.appendChild(val);
+ src=XML.getNextSiblingElement(src,edu.internet2.middleware.shibboleth.common.XML.SAML2ASSERT_NS,"AttributeValue");
}
attrs.add(SAMLAttribute.getInstance(copy));
}
copy.setAttributeNS(null,"AttributeNamespace",src.getAttributeNS(null,"NameFormat"));
src=XML.getFirstChildElement(src,edu.internet2.middleware.shibboleth.common.XML.SAML2ASSERT_NS,"AttributeValue");
while (src != null) {
- src=XML.getNextSiblingElement(src,edu.internet2.middleware.shibboleth.common.XML.SAML2ASSERT_NS,"AttributeValue");
Element val=e.getOwnerDocument().createElementNS(XML.SAML_NS,"AttributeValue");
NamedNodeMap attrs = src.getAttributes();
for (int j=0; j<attrs.getLength(); j++)
while (src.hasChildNodes())
val.appendChild(src.getFirstChild());
copy.appendChild(val);
+ src=XML.getNextSiblingElement(src,edu.internet2.middleware.shibboleth.common.XML.SAML2ASSERT_NS,"AttributeValue");
}
attrs.add(SAMLAttribute.getInstance(copy));
}