I am using this SAMLAttribute attr1 = new SAMLAttribute(xmlElement);
but i am getting follow error
ComponentSpace.SAML2.Exceptions.SAMLSerializationException
HResult=0x80131600
Message=The XML is not an attribute.
The expectation is that the XmlElement parameter to the constructor has the name “Attribute” and is declared in the “urn:oasis:names:tc:SAML:2.0:assertion” namespace.
If there’s still an issue, please send the XML (ie the xmlElement.OutXml string) to support@componentspace.com so we can take a look.