Subject: RE: [xsl] How to output trademark character in standards-complian t mode From: Maria Amuchastegui <mamuchastegui@xxxxxxxxxxx> Date: Tue, 12 Apr 2005 17:58:22 -0400 |
Sorry, that should be: <xsl:output method="html" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd"/> Maria -----Original Message----- From: Maria Amuchastegui [mailto:mamuchastegui@xxxxxxxxxxx] Sent: Tuesday, April 12, 2005 5:53 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] How to output trademark character in standards-compliant mode I am trying to output the trademark character, TM. I had originally encoded this as ™ and it displayed correctly. Both my XML and XSL files are encoded in ISO-8859-1. My XML parser is MSXML4. However, because I want the browser to run in standards-compliant mode, I added the following to the stylesheet: <xsl:output method="html" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd"/ <http://www.w3.org/TR/html4/loose.dtd> > After I did this, the trademark character no longer displayed properly. I realize that ™ is undefined in ISO-8859-1 because it reserves values 127-159 for control characters, so I tried to encode this using hexadecimal notation ™ as well as decimal notation ™ Is there a way to display the trademark character when the browser is running in standards-compliant mode? Maria
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to output trademark c, David Carlisle | Thread | RE: [xsl] How to output trademark c, Maria Amuchastegui |
[xsl] How to output trademark chara, Maria Amuchastegui | Date | Re: [xsl] How to output trademark c, David Carlisle |
Month |