I want to return some HTML code in my XML response. So it will be highlighted on the client side. so for example i have XML response like this
<Response id="1234"> <Document> <text><span style="color:blue;font:18pt" >fevers</span gt;</text></Document>
</Response>
The problem that the client understands this as “<span>fever</span>” but not understanding the span itself and highlighting the word “fever”. and of course i can’t send “<>” in XML as the library translates them directly to their codes. Any help would be appreciated Thank you
Enclose it with Character Data (CDATA):