Escaping characters

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Escaping characters

Alessandro De Maria
Hi,

what is the best approach for validating fields entered by the user?

I want to make sure characters like & > < etc don't get into my XML.
Is there a way I can automatically convert those charactes in the
xml-friendly equivalent?

Regards
Alessandro



--
Alessandro De Maria
[hidden email]


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws