Come for answers, stay for best practices. All we're missing is you.
Originally posted by: steverats
Hi,
My xml structure is like,
<a>
<b>
<c>stev & rats</c>
</b>
</a>
when I am validating the input . It was showing the error as "INVALID data". at <c> stev & rats</c>
How can I validate this data?
Thanks,
Originally posted by: Ejay
The '&' character is itself an escape character in XML
Are you able to validate this ?
<c>stev & rats</c>
If yes you might need to escape & or replace it by & in your data .
Ejay
Thanks for the quick reply.
yes, I can read &
How can I escape that & character? (without modifying the data)