Hi, Robert

I tested with Xalan 2.6.0 and It works fine. Make sure that the method
attribute of the xsl:output element is set to "html".

Christine Li
XSLT Development
IBM Toronto Lab
Tel: (905)413-2601
Email: [EMAIL PROTECTED]

"Robert Taylor" <[EMAIL PROTECTED]> wrote on 04/22/2004 10:14:01 AM:

> Greetings again,
>
> I've run into a strange problem when transforming an XML document into
HTML.
> I have an XSL style sheet where I use the ASCII equivalent for &nbsp;,
&#160;.
>
> I'm using JDOM which inturn relies on TrAX to perform the transformation.
> I've configured JDOM to use Xalan: org.apache.xalan.processor.
> TransformerFactoryImpl.
>
> After transforming the XML document, the resulting document replaces each
> &#160; with an invisible binary character which is rendered as � when
> using the XMLOutputter to output the document.
>
> I've searched Google, JDOM, and Xalan archives. I've also reviewed
> the relavent
> FAQ's and haven't come up with any answers.
>
> I'm sure that I'm searching using the wrong criteria (nbsp; #160, etc...)
> because this seems like a configuration issue.
>
> Any ideas?
>
> robert
>
>

Reply via email to