W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 2002

RE: Better control over character encoding in HTML output method

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Fri, 1 Feb 2002 21:01:04 +0100
Message-ID: <DFF2AC9E3583D511A21F0008C7E6210602679C03@daemsg02.software-ag.de>
To: "'Jirka Kosek'" <jirka@kosek.cz>, xsl-editors@w3.org
Thanks for this comment. I'll put a proposal to the WG for discussion.

Mike Kay

> -----Original Message-----
> From: Jirka Kosek [mailto:jirka@kosek.cz]
> Sent: 01 February 2002 18:52
> To: xsl-editors@w3.org
> Subject: Better control over character encoding in HTML output method
> 
> 
> Hi,
> 
> when reading through XSLT 2.0 WD I found that one aspect of 
> HTML output
> method is not precisely defined and can cause problems for users using
> Central European languages.
> 
> Citation from section 18.3:
> 
> The html output method may output a character using a character entity
> reference, if one is defined for it in the version of HTML that the
> output method is using.
> 
> Thit means, that XSLT procesor will output e.g. &eacute; or &xe9;
> instead of . This might be acceptable for Western European languages
> where are accented characters quite rare. But for example in Czech
> accented characters are 10-20 % of all characters used. Using entities
> means that you will get larger HTML files which are hard to 
> edit by hand
> (if someone other wants to edit them).
> 
> For this case I will welcome <xsl:output> attribute with same
> functionality like saxon:character-representation="native" -- i.e.
> attribute which forces output method to use native characters 
> instead of
> entity references where possible. This feature is really necessary for
> us in CE -- I must use 
> saxon:character-representation="native" in all my
> XSLTs.
> 
> Thanks.
> 	
> 			Jirka Kosek
> 
> -- 
> -----------------------------------------------------------------
>   Jirka Kosek  	                     
>   e-mail: jirka@kosek.cz
>   http://www.kosek.cz
> 
> 
Received on Friday, 1 February 2002 15:01:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT