Subject: RE: Special characters in XML
From: Ewout Kanger <EKanger@xxxxxxxxxxxxx>
Date: Fri, 1 Sep 2000 14:40:14 +0100
|
Hello Joep,
I had the same problem you have. It seems like a bug in msxml, it does work
in the Saxon or XT.
I have a work around. I added to the 'template match=text()' a routine that
finds all characters with a unicode > 256 and then I replace this with the
correct character reference.
To retrieve the character number I use VBScript in the xsl.
It slows the transformation down, because there is a check on every
character, but you get what you want.
If you are interested I can send you the code.
Ewout Kanger
> -----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 • ( it is the · )
> 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
> • into a ? ( a question mark)
> When i use the · in stead of the • it will tell me that the
> element does not exists.
>
> How can I get the • to display properly ..
>
>
> Kind regards,
>
> Joep Laumans
>
>
> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
> Greenane Consultancy Ltd
> Joep Laumans
> Rock Street
> Kenmare
> joepl@xxxxxxxxxx
> Phone +353 64 42722
> Fax +353 64 42719
> Mobile 086 8336079
>
> Visit Kenmare the tidiest Town in Kerry
> http://www.kenmare.com
> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|