[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Special characters in XML

Subject: RE: Special characters in XML
From: Ewout Kanger <EKanger@xxxxxxxxxxxxx>
Date: Fri, 1 Sep 2000 14:40:14 +0100
vbscript xml special characters
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 &#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
> 
> 
> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
> 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.