I'm wondering for a solution to deserialise the values of HTML in a XML Element.
My Sample XML is given below,
<root>
<Element>
<P>This <i>is </i> a sample <B>XML Tag</B><P>
</Element>
<root>
This is a sample XML Tag
" as string. Please suggest me the solution. I cannot add cdata in the XML file.
You need to use escape characters:
" "
' '
< <
> >
& &
Full reference:
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references