[
Lists Home |
Date Index |
Thread Index
]
> 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
ryan.fransen@pwrm.com
|