while (child) {
if (XMLHelper::isNodeNamed(child, samlconstants::SAML20_NS, Attribute::LOCAL_NAME)) {
boost::shared_ptr<XMLObject> obj(AttributeBuilder::buildOneFromElement(child));
while (child) {
if (XMLHelper::isNodeNamed(child, samlconstants::SAML20_NS, Attribute::LOCAL_NAME)) {
boost::shared_ptr<XMLObject> obj(AttributeBuilder::buildOneFromElement(child));