Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Identity Transform with preservation of entities

From: richard@------.--.--.-- (------- -----)
To: NULL
Date: 10/4/2005 2:44:00 PM
In article <1128412989.949676.259830@g...>,
 <cawoodm@g...> wrote:

>I need an identity XSLT that does not change the incoming XML document.
>The trick is that I need the entities to be preserved.

Why?  they are equivalent as XML documents.

>My current
>transform converts &#160; to the copyright symbol in the output
>document.

That's not technically an entity, it's a character reference.

There's no way to make XSLT not expand character and entity references
when it reads the file.  However, if you specify an output encoding of
"ascii", then it will have to output references for all the characters
above 127.

-- Richard


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent