Subject: RE: nbsp;
From: "Derek Odegard" <derek@xxxxxxxxx>
Date: Wed, 24 Jan 2001 10:17:38 -0600
|
Alec Cove:
> when I transform it (using XT) I get an error: Reference to
> undefined entity
> " ".
>
> other entities like & work fine, anyone know why this happens?
Most HTML entities don't work in XML/XSLT. & is the only one I use
regularly, but I would guess that > and < would work, and possibly
".
For a non-breaking space, try 
. Actually, I usually do
<xsl:text>
</xsl:text>, but I can't remember why. I think the XSLT
processor was treating the 
 as regular ol' white space when not
enclosed in xsl:text, but it's been a long time since I started doing it
that way, so I don't recall clearly.
--Derek Odegard
derek@xxxxxxxxx
http://www.pixelpony.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- nbsp;
- Alec Cove - Wed, 24 Jan 2001 10:50:18 -0500 (EST)
- David Carlisle - Wed, 24 Jan 2001 11:09:41 -0500 (EST)
- Derek Odegard - Wed, 24 Jan 2001 11:14:23 -0500 (EST) <=
- Chuck White - Wed, 24 Jan 2001 11:24:02 -0500 (EST)
- Michael Kay - Thu, 25 Jan 2001 06:08:18 -0500 (EST)
|
|