OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] suppression of the transformation of character entitiesin

[ Lists Home | Date Index | Thread Index ]


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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS