Last post Mar 08, 2011 10:06 PM by Decker Dong - MSFT
Mar 07, 2011 02:26 AM|Mazenx|LINK
hello..I have an xml file and I am manipulating it with c# , however there is a problem that I am saving inside it html tags such as <b> and they're being encoded to %lt and %gt , but I dont want that to happen as I want to keep the data in it's format so
I searched over the internet and i think the solution is to use a property called disable output encoding , but I am not sure how to create an xsl file ( with that property ) and link it to my current xml , any ideas?
Mar 07, 2011 04:06 AM|harsh.cer|LINK
When you save the XML file with Html tag at that time you need to add CDATA tag as following.
"<!CDATA[<B>In XML you need elements which </B>]]>"
and after that you can apply your xslt file.
Mar 07, 2011 04:15 AM|Mazenx|LINK
I do have it and it's working , but when I am manipulating it it's being encoded , I added cdata still it's being encoded.
Mar 08, 2011 10:06 PM|Decker Dong - MSFT|LINK
The syntax should look like this: