[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT to populate a SAML AttributeStatement from an
On 1/18/2023 9:40 PM, ohaya ohaya@xxxxxxxxx wrote:
NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:Attribut eValue xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">1111111</saml:AttributeValue></saml:Attribute> NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:Attribut eValue xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">urn:NORM:DEPT</saml:AttributeValue></saml:Attribute> <saml:Attribute xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Name="MY_ASSOC_CD" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic"><saml:Attribut eValue xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">urn:NORM:V01</saml:AttributeValue></saml:Attribute> In the end your result XML document, like any XML document, is supposed to have single root element wrapping all other elements, I thought in your case e.g. <xsl:template match="/"><saml:statement><xsl:apply-templates/></saml:statement></xsl:templa te>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|