[xslt] xsltproc changes unicode to nonsense



In my stlesheet, I have:

<xsl:output method="html"/>

I then put this character in my xslt stylesheet:

&#x00A0;

This should be a no break space.

However, xsltproc translates this to a upper case A with a hat over it.
If I change the output method line to:

<xsl:output method="xml"/>

then xsltproc leaves the entity alone. If I run my stylesheet with
xalan, and use html as the output method, the &#x00A0; gets translated
to &nbsp;

Is there anything I can do? I need html as my output method because I am
using <br/>, which is not recogized in html. 

Thanks

Paul

-- 

************************
*Paul Tremblay         *
*phthenry@earthlink.net*
************************



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]