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

RE: suppression of the transformation of character entitiesin


character suppression

On Thu, 22 May 2003, Mike Fitzgerald wrote:
> Have you tried the disable-output-escaping attribute on the text and
> value-of instructions?

sounds more like what is needed is 'enable-output-escaping'. which of
course does not exist.

> From: Sascha Pogacar (XPECT MEDIA)
> 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.

the XSLT engine is mostly oblivious to how characters are represented in
the source document, because it operates on what is known as the infoset.

you can to some degree control the output by setting a suitable output
encoding, for example:
<xsl:output method="xml" encoding="iso-8859-1"/>
will make sure that all non-latin-1 chars are escaped.
default is either UTF-8 or UTF-16.

hth,

/m

Martin Klang
http://www.o-xml.org - the object-oriented XML programming language


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.