[xsl] Identity Transform losing special characters

Subject: [xsl] Identity Transform losing special characters
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Thu, 19 Feb 2009 22:38:38 -0700
I have things like this in my XML:

          <fo:inline>
            <fo:inline>Some Company</fo:inline>
          </fo:inline>&#160;
          <fo:block/>

My identity transform is losing the &#160;.
I've tried both:

<xsl:apply-templates select="@* | *"/>
<xsl:apply-templates select="@* | node()"/>

With a match and copy like this (again having tried both node() and *):
<xsl:template match="@* | node()">
    <xsl:copy>
        <xsl:apply-templates select="@* | node()"/>
    </xsl:copy>
</xsl:template>

Where am I going wrong?

Karl..

Current Thread