Or, just put a Entity Reference Declaration in your XML document like:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE root [<!ENTITY nbsp "&#160;">]>
<root>
  ...
</root>

or, you can directly use &#160; instead of &nbsp; in you XML source
without any further declarations.

Stefan

> -----Ursprüngliche Nachricht-----
> Von: andre powroznik [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 18. Juli 2001 09:31
> An: [EMAIL PROTECTED]
> Betreff: Re: the problem of &nbsp
> 
> 
> Did you try putting it in a CDATA ?
> 
> <![CDATA[&nbsp;]]>
> 
> Drasko Kokic wrote:
> 
> > Hello again,
> >
> > could anybody provide some code how to overcome this
> > problem?!
> >
> > How should the nbsp be defined in XSL so that after
> > serialisation it only produces "&nbsp;"?
> >
> > TIA
> > Drasko
> >
> > --- Frans Thamura <[EMAIL PROTECTED]> wrote:
> > > Try used XSL syntax, nbsp is HTML syntax..
> > >
> > > I forgot the value, but it is look like #Ax0 or
> > > something.. that works in my
> > > script
> > >
> > > Frans
> > >
> > > ----- Original Message -----
> > > From: <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, June 05, 2001 12:12 AM
> > > Subject: the problem of &nbsp
> > >
> > >
> > > > hi,
> > > >
> > > > I use the &nbsp; to define a empty roll or column,
> > > but it result a
> > > error(The entity "nbsp" was
> > > > referenced, but not declared) when the xsl is
> > > parsed. May I know how to
> > > solve this problem ?
> > > >
> > > > Thank you.
> > > >
> > > > Kok Choon
> > > >
> > > >
> > >
> > --------------------------------------------------------
> > > > E-mail: [EMAIL PROTECTED]
> > > > Date: 06/05/01
> > > > Time: 01:12:52
> > > >
> > > > This message was sent by Z-Mail Pro - from
> > > NetManage
> > > > NetManage - delivers Standards Based IntraNet
> > > Solutions
> > > >
> > >
> > --------------------------------------------------------
> > > >
> > > >
> > >
> > 
> ---------------------------------------------------------------------
> > > > Please check that your question has not already
> > > been answered in the
> > > > FAQ before posting.
> > > <http://xml.apache.org/cocoon/faqs.html>
> > > >
> > > > To unsubscribe, e-mail:
> > > <[EMAIL PROTECTED]>
> > > > For additional commands, e-mail:
> > > <[EMAIL PROTECTED]>
> > >
> > >
> > >
> > _________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at
> > > http://mail.yahoo.com
> > >
> > >
> > >
> > 
> ---------------------------------------------------------------------
> > > Please check that your question has not already been
> > > answered in the
> > > FAQ before posting.
> > > <http://xml.apache.org/cocoon/faqs.html>
> > >
> > > To unsubscribe, e-mail:
> > > <[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <[EMAIL PROTECTED]>
> > >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> >
> > 
> ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 
> 
> 

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to