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

Re: [xsl] nbsp;


Subject: Re: [xsl] nbsp;
From: "Chuck White" <chuck@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 24 Jan 2001 08:23:07 -0800

One nice thing about XT is its helpful error messages, which can be quite
specific. In this case, XT told you exactly what is going on. You didn't
declare your entity. There are only five "predefined" entities in XML (and
it is often a good idea to declare them, too, depending on your
circumstances):

&lt;  &#38;#60;  <
&gt;  &#62;  >
&apos;  &#39;  '
&quote;  &#34;  "
&amp;  &#38;#38;  &

everything else always requires a specific declaration.

Chuck White
Director, Creative and Product Development
ADVANCE Recruitment Advertising, Inc.
650-261-1060 x15 voice
650-261-1061 fax
http://www.advancerecruitment.com
e-mail: chuck@xxxxxxxxxxxxxxxxxxxxxx
----- Original Message -----
From: "Alec Cove" <covea@xxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, January 24, 2001 7:53 AM
Subject: [xsl] nbsp;


>
>
> Is there something unusual about the &nbsp; entity? My XML looks like
this:
>
> <description><b>The best &nbsp;</b></description>
>
> 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?
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml