Hi all,
Its more of a XML Question ..
I am passing a few elements (as literal XML) to my WebServvice as :
<someelement>
<pair name="abc" value="xyz"/>
</someelement>
It works fine for cases above :

but the XML Parser get very very angry if I passed :

<someelement>
<pair name="abc" value="xyz & def"/>
</someelement>

I was wondering if there was a decent way to escape the & sign ?
May be URLEncoding the characters before stuffing them in to literal XML ?
Would appreciate a quick fix !!

Cheers,
Naggi



Reply via email to