If I just put in label value or anywhere else
™ or °
it will give me parse error.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, those entities are defined in HTML, but not in XML in general (unless they’re all defined in the DTD, of course) == only
quot,amp,apos,lt, andgt, are “predefined”.Simplest might be to use the general XML way to encode any given codepoint, e.g.,
°for°and™for™. You can find all the entities and their numerical equivalents in many spots around the web, e.g., wikipedia.