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

Re: suppression of the transformation of character entities in


character suppression encoding
Probably you are specifying the output to be encoded in UTF-8 or 
something like that where the character is supported in the encoding. 
In that case the output should also contain the encoding indicated in 
the xml header (e.g. <? xml ... encoding="UTF-8"?>) There's nothing 
wrong with that, further XSLT processing should be able to handle it 
just fine. Some editors or viewers might not be reading the xml header, 
though, in which case they wouldn't necessarily realize the file is in 
UTF-8 and might display garbage. In that case, use a setting in the 
editor to reinterpret the file as UTF-8 and all should be well.

If you set output="html" in XSLT you should get the character entities 
though BTW.

Simon

On Thursday, May 22, 2003, at 11:04  AM, Sascha Pogacar (XPECT MEDIA) 
wrote:

> Hello, I encounter a xslt-problem, which should be easy, but I dont 
> find an solution.
>  
> I have some XML-Files which I am processing through an XSLT (on an 
> IIS5 with MSXML 4.0) to split the files into various different other 
> XML-Files.
>  
> My problem is the automatic transformation of the charachter entities 
> like &#nnnn; into whatever character they represent, with the result 
> of skrewed up content in the end.  
>  
> Is there someone out there who knows a solution for this, without 
> using CDATA.
>  
> thanks
> Sascha Pogacar
>
>  
>

--
      anti-spam: do not post this address publicly
www.simonwoodside.com -- 99% Devil, 1% Angel


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.