← Prev in month ← Prev in thread

Use of © in XML/XSLT

From
Ryan Fransen <>
To
"''" <>
Date
2002-02-20T17:06:23Z
ID
<>
Thread
Use of © in XML/XSLT
> I have an xhtml document that  includes the following:
> 
>             <tr>
>                <td nowrap="true" colspan="2" class="footer">© All rights
> reserved.</td>
>            </tr>
> 
> When I use the following XSL to transform the document, the © is output as
> follows:
> 
>             <tr>
>                <td nowrap="true" colspan="2" class="footer">© All rights
> reserved.</td>  
>             </tr>
> 
> Note the addition of the  Â symbol
> This occurs for both MSXML and Saxon parsers.
> 
> <?xml version="1.0" encoding="UTF-8" ?>
> <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> 	<xsl:strip-space elements="*"/>
> 	<xsl:output method="xml" indent="yes" omit-xml-declaration="yes"
> encoding="UTF-8"/>
> 
> 	<xsl:template match="@* | node()">
> 		<xsl:copy>
> 			<xsl:apply-templates select="@*"/>
> 			<xsl:apply-templates/>
> 		</xsl:copy>
> 	</xsl:template>
> 
> </xsl:transform>
> 
> 
> Has anyone  any idea why I might be getting the extra character ?  
> 
> Thanks in advance,
> 
> Ryan Fransen
	
← Prev in month ← Prev in thread