If I just put in label value or anywhere else
™ or °
it will give me parse error.
If I just put in label value or anywhere else
™ or °
it will give me parse error.
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, and gt, 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.