List Info

Thread: Xml Serialization with CDATA




Xml Serialization with CDATA
user name
2006-06-07 16:59:39
I have an object with a property which contains HTML code. 
This object
is returned from a web service which allows HttpPost and
HttpGet
requests.  It appears when I make a request to the web
service using GET
i.e. http://ws.tempuri.com/service.asmx/GetHtml?htmlId=123
the HTML that
is in the object's property is serialized and HTML encoded.
 Okay, that
makes sense for safe transport and XML usage.  For my
particular
situation I would prefer for this data to NOT be HTML
encoded, but
instead be encased as CDATA.  I don't see any XmlAttribute
I can apply
to the property to make this happen.  Any ideas?

 

Thanks in advance!

 

Ian Suttle

 


===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )