Re: [xslt] xsl and white space ??



On Wed, Jun 13, 2001 at 05:21:05PM +0900, Kim Eun Young wrote:
> 
> I'm trying to insert a white space using xsl.
> 
> <xsl:stylesheet ....>
> .....
>    <td>&#160;</td>
> ....
> 
> I know, &#160; is equal to &nbsp;
> But, using xsltproc, result is 
>    <td>¤·</td> 

  probably because the output is encoded in UTF8 and that's how
&#160; encoded in UTF8 shows up when outputed to a text terminal.
  Please read the encoding doc:
     http://xmlsoft.org/encoding.html

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




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