Hi. I have an HTML form where the data for one of the input fields is an xml string.
<form action="xxx" method="post">
<input type='hidden' id='myName' name='myName' value='joe'/>
<input type='hidden' id='myXML' name='myXML' value='<myData><userid value="123"/><remarks text="age is < 65"/></myData>'/>
where xxx is some url.
My question is : When I post this form, "<" is being URLencoded and changed to %3C. However, on the destination side, the data sent over is not valid, since it thinks that the opening "<" for the remarks tag is not closed.
How can I send data containing characters such as "<" in an xml string that is a value of an input element in a form post correctly?
Any help is appreciated.
P.S. I'm x-posting this to the HTML Programming forum since part of it involves HTML