Altova Mailing List Archives

Re: [xsl] text extraction

From: David Carlisle <davidc@--------->
Date: 10/12/2006 4:03:00 PM
> Note that ISO-8859-1 is an order of magnitude smaller then UTF-8, so you 
> may end up with missing or replaced characters (not sure what they will 
> be replaced with though, when they don't exist) in the output stream.

XSLT will not drop or replace characters.

If the character is in a place where a character reference may be used,
the character will be serialised as a character reference (& # 1234 ;) 
If it is at a place where a character ref can not be used, (eg an
element name, or in a comment, or anywhere in the text output method,
then that's an error) The processor may avoid these errors by instead
using utf8 or iutf16 (which can encode all characters).



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 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.