[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: nbsp;

Subject: RE: nbsp;
From: "Derek Odegard" <derek@xxxxxxxxx>
Date: Wed, 24 Jan 2001 10:17:38 -0600
derek odegard
Alec Cove:
> when I transform it (using XT) I get an error: Reference to
> undefined entity
> " ".
>
> other entities like &amp; work fine, anyone know why this happens?

Most HTML entities don't work in XML/XSLT. &amp; is the only one I use
regularly, but I would guess that &gt; and &lt; would work, and possibly
&quot;.

For a non-breaking space, try &#xa;. Actually, I usually do
<xsl:text>&#xa;</xsl:text>, but I can't remember why. I think the XSLT
processor was treating the &#xa; 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)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.