This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Special characters in XML


Hi Joep,

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

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@eircom.net]
> > Sent:	Friday, September 01, 2000 3:01 PM
> > To:	XSL-List@mulberrytech.com
> > 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]