RE: Special characters in XML

Subject: RE: Special characters in XML
From: Eckenberger Axel <Extern.Eckenberger@xxxxxxxx>
Date: Mon, 4 Sep 2000 12:49:29 +0200
Hi Joep,

according to the MSDN Lib the '&middot;' has the value of '&#183'; in the
Latin-1 (ISO-8859-1) character set, and there is no character at '&#149;'.

Furthermore you cannot use the entity middot as it is not declared within
your DTD. If you like to use it, you'd have to include the following at the
start of your XML file, I assume you already use a DTD:

    <!DOCTYPE MyRootElement SYSTEM "MyRootElement.dtd" [
        <!Entity middot "&#183;">
    ]>

After this you should be able to use '&middot;'.

I hope that solves your poblems.

Axel


> > -----Original Message-----
> > From:	Joep Laumans [SMTP:joepl@xxxxxxxxxx]
> > Sent:	Friday, September 01, 2000 3:01 PM
> > To:	XSL-List@xxxxxxxxxxxxxxxx
> > Subject:	Special characters in XML
> > 
> > Hi there,
> > 
> > I have in my xsl file a value &#149  ( it is the &middot; ) 
> > I have a xml file with the encoding set to iso-8859-1
> > 
> > When use the MS xml parser ( the july 2000 version ) it 
> will change the
> > &#149 into a ? ( a question mark)
> > When i use the &middot in stead of the &#149  it will tell 
> me that the
> > element does not exists.
> > 
> > How can I get the &#149 to display properly ..
> > 
> > 
> > Kind regards,
> > 
> > Joep Laumans


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


Current Thread