Subject: [xsl] Newbie encoding query From: "Satish, L. Gnanendra" <LGnanendra.Satish@xxxxxxxxxx> Date: Wed, 4 Dec 2002 05:14:28 +0100 |
Hello, I am new to XSL. I have a strange problem regarding UTF-8 encoding of extended charset. My XML has a format as: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE ProfileDetails SYSTEM "Prisma.dtd"> <?xml-stylesheet type="text/xsl" href="UserManual.xsl"?> <ProfileDetails> <VersionInfo>1.0.0</VersionInfo> <Identification> <Name>&Text_1;</Name> <Description>&Text_2;</Description> <DriverType>&Text_3;</DriverType> <Version>&Text_4;</Version> </Identification> <ProfileDetails> where the Tags and Entities Text_1...are taken from the DTD file. The UserManual.XSL has a parameters which has to have a trademark symbol(#153): <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" encoding="UTF-8"/> <xsl:param name="GUI">User Interface of Prisma™</xsl:param> <xsl:template match="ProfileDetails"> <html> <title><xsl:value-of select="//Identification/Name"/></title> <body> <xsl:value-of select="$GUI"/> <xsl:apply-templates select="Identification/Description"/> </body> </html> </xsl:template> My problem is that, when it is viewed in a IE6 browser, the parameter "GUI" displays: User Interface of PrismaÂ(tm) which is not it should be. I want to eliminate "Â" char from the html view. how do i go about this? Help needed asap. rgds, Gnanendra. - - - - - - - Appended by Scientific-Atlanta, Inc. - - - - - - - This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Count leading spaces usin, Jeff Beadle | Thread | Re: [xsl] Newbie encoding query, Mike Brown |
[xsl] Count leading spaces using xp, Grainne Reilly | Date | RE: [xsl] Count leading spaces usin, Jeff Beadle |
Month |