Entity resolution occurs during XML parsing; it is part of the standard. You
want nonconformant behavior? Why does it matter? A no-break space is a
no-break space, regardless of whether it is encoded directly or written as a
numeric character reference or entity reference.
If you're talking about doing your identity transformation with XSLT,
setting encoding="us-ascii" in your xsl:output element will help. At least,
you'll get or   when the output method="xml". You can
post-process this with a simple sed, perl or python script to replace with
.
Some XSLT processors offer a special XHTML output method (which is
nonstandard), which will probably appear to do what you want. (emphasis on
"appear"...). Some XSLT processors offer additional features to tweak the
output of the standard xml output method a bit, but they're not going to
turn non-ASCII characters into XHTML entity references for you.
"Romeo Disca" <ro*********@t-online.de> wrote in message
news:bg*************@news.t-online.com...
Hello,
i just want to make an identity transformation
of an xhml document and i don't want entities to be resolved.
should result in and not ' '.
Is there any chance to perform this.
Thanks.
Romeo
--
Romeo Disca
Email: ro*********@t-online.de