Re: [xsl] foreign characters in params passed to stylesheet

Subject: Re: [xsl] foreign characters in params passed to stylesheet
From: Mulberry Technologies List Owner <xsl-list-owner@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 6 May 2002 17:03:44 -0400
>From: "Mattias Konradsson" <preacher@xxxxxxxxxxx>
>To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
>Subject: Re: [xsl] foreign characters in params passed to stylesheet
>Date: Mon, 6 May 2002 22:42:32 +0200
>
>
>> An XSLT processor is at liberty to use character references for any
>> character in the output file, rather than using the native character.
>> There's nothing in the spec that prevents this, and any XML parser (or
>HTML
>> user agent) will treat the character reference and the native character
> > identically. The only difference is when you want to edit the file, in which
>> case it's annoying to have the character reference for characters that you
>> can display correctly on your screen, and it's annoying to have the native
>> character for those that you can't. Unfortunately the XSLT processor knows
>> nothing about your text editor or installed fonts, so it has to make a
>> guess. Saxon includes extensions that give you a choice.
>>
>> Michael Kay
>> Software AG
>> home: Michael.H.Kay@xxxxxxxxxxxx
>> work: Michael.Kay@xxxxxxxxxxxxxx
>
>Yah, entities isn't much of a problem when it's text that's outputet, the
>real problem we're having is
>entities being put into element attributes which really wreaks havoc with
>your documents, Saxon it is :)
>
>best regards
>---
>Mattias Konradsson


-- 
======================================================================
B. Tommie Usdin                        mailto:btusdin@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com   
17 West Jefferson Street                           Phone: 301/315-9631
Suite 207                                    Direct Line: 301/315-9634
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML              
======================================================================

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread