Hi all,
When I form an XML document from some text containing html tags, xml parser tries to parse the non xml markup too.
Below is a sample XML code to better illustrate the situation:
<heading>
there is some html here <img src="../img/x.jpg> to be escaped
</heading>
Normally this data should not contain html markup in xml but since this comes from a kind of legacy stuff it's hard to normalize all that data.
Is there a way to escape these html tags when parsing xml ?
Any help deeply appreciated.
Thx. in advance.
Ilker