i have a xml like below:

`<expectedJson>
{
"x":"give him $12&#46;25"
}
</expectedJson>`

What i am doing is: am comparing the json embeded with the actual json. But after parsing this xml, `&#46;` is getting converted to **.** i.e. period.

I want it to be interpreted as `&#46;` not as `.`. can anybody help on this?