views:

83

answers:

1

If I just put in label value or anywhere else

™ or °

it will give me parse error.

+4  A: 

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 &#8482 for ™. You can find all the entities and their numerical equivalents in many spots around the web, e.g., wikipedia.

Alex Martelli