Reputation: 1070
I have a string that says "the following characters are invalid: "! @ # $ % ^ \& * ( ) / \ or space" and i don't know how to put the & symbol into an xml file without causing an error? I know you are suppose to do something along the lines of \& but I'm not sure exactly what it is?
Upvotes: 8
Views: 8486
Reputation: 1143
& would be &
.
Wikipedia has a list of XML and HTML character entity references.
Upvotes: 8