I have a web page that a user can enter in text in a text box. I want to let the user enter any valid character that does not cause problems when the text is put into xml.
So I want to stop the user from entering in anything that would cause XML to have a problem. Some of the characters are <, & and so forth. I don't know what they all are.
If the user enters any of these in, I want to stop them and show an error. I was wanting to use reqular expressions to do this if possible.
Thanks for your help.