Subject: how to prevent escaping special characters (< and >) in xml required as value of an attribute (correction)
Date: 2018-02-23 04:49:30
From: jauster@hotmail.com
Source: prevent-escaping-special-characters-xml-required-value-attribute-correction
----------------------------------------------------------------------

(sorry - my original post lost the xml somehow...)

I need to create a saml attribute that looks like this (note that the attributevalue is xml):

                 
                     
                        8835d0b3-f721-4e18-bd53-e5be0005e9c6  
                     
                

but no matter how I try to do it, I end up with this (note that the < and > in the xml have been escaped):

                 
                     
                        <ServiceId xmlns="">8835d0b3-f721-4e18-bd53-e5be0005e9c6 </ServiceId>
                     
                


I'm sure there must be a way to prevent escaping the special characters inside the xml - can anyone give me an example of how to do it?

----------------------------------------------------------------------

Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand
If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor
who sold you the license and ask for your money back.

Back to ComponentPro Q&A Forum Index