[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Confused about entities


Subject: Re: [xsl] Confused about entities
From: "andrew welch" <andrew.j.welch@xxxxxxxxx>
Date: Tue, 14 Mar 2006 14:28:29 +0000

> Thanks for the quick reply! I'm currently outputting as XML and it
> should only be the last stage in the chain that outputs as XHTML. The
> issue seems to be that the input includes declared entities that
> nothing on the later part of the chain understands. Therefore I want
> the unicode entity instead so &#xA0; rather than &nbsp; for example.
> Should the stylesheet automatically do this? Is there some way I can
> force a text() catch in the template to convert the characters for me?

If you are outtputting as XML where are the &nbsp;'s coming from?

Are you writing them out manually in the stylesheet - as is in &amp;nbsp;?


Current Thread
Keywords