This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Entity references in xml output
> <body2>Blah again and again and „ &myentity;</body2>
remember that _all_ these entity refernces are resolved by the XML
parser before XSL even sees your document. So there is no way of
saying in XSL that you want to `keep' „.
What you could do is say that you want the unicode character number
1234 (whatever it is) to be always outout as „ thus it
would be output that way however it was input.
This is how the html output method works for the characters that it
outputs as entity references.
So basically you have to extend your xml system and add a non standard
output type that does this.
This is probably a lot of work and you _shouldn't_ have to do it.
_every_ XML system will accept the characters as utf-8 encoded data
so why go to much effort to avoid that?
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list