> Excuse me for possibly subtracting from the sum of human knowledge, > but I don't recall reading in the original problem statement that it > had to be a *semantic* single quote, which means the entity ' > would do just fine.
My apologies, I presumed that Justin had already checked the existing XHTML entities and couldnt find one. You are correct that ' is available in XHHTML and is defined as character 39... though only when you are using ISO Latin character sets. So, yes, ' is a better solution than the one I posted. > Perhaps somebody can tell me whether or not it's an urban legend > (for once the Microsoft XML documentation is obscure) that putting > on an XML header automatically gets you ' regardless of DTD? Using <?xml version='1.0'?> only gets you 3 entities... < > and & All extra entities must be declared in a DTD.... but the XHTML DTD declares alot of them so using a XHTML DTD gets you all the entities you should need... inlcuding ' woric ***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *****************************************************
