Re: [xsl] Unicode and child element

Subject: Re: [xsl] Unicode and child element
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Aug 2008 13:51:38 -0400
At 2008-08-29 12:42 +0100, Colin Paul Adams wrote:
No - they are not available for XSLT users. The author of the XSLT
transformation could be considered the sender, and the XSLT processor
could be considered the receiver.

I disagree. The sender of an XML document creates "data" and the invoker of the stylesheet is the receiver of that transformed "data". I see the stylesheet in this scenario as a black box.


At 2008-08-29 16:09 +0100, Tony Graham wrote:
On Fri, Aug 29 2008 16:01:59 +0100, davidc@xxxxxxxxx wrote:
> or it is not true, in which case Ken's assumption that they do not
> appear in input documents is valid, but it means that he can't use them
> in XSLT either.

You could use them in your own XSLT, but you shouldn't be wanting to
interchange them with just anybody.

I agree, and this was the basis of my recommendation to my students: I see the link between the stylesheet and the serialization as closed to the outside world of users of the stylesheet.


Assuming no presence of noncharacters in data, assuming judicious use of the noncharacters in a stylesheet and ensuring all such are elided during serialization should protect the outside world from the stylesheet writer having used them in a stylesheet, even if private use characters are used between users of the stylesheet.

I would *not* use noncharacters in interchange where I could use private characters as representing non-standard characters understood between parties in "data".

So I see private characters as out-of-bounds and not available to the stylesheet writer for such techniques, and noncharacters within-bounds for such techniques.

For standards, the story is a bit different.  ...According to the Character
Model for the World Wide web...

Thank you, Tony, for sharing those details!


. . . . . . . . . . . Ken

--
Upcoming XSLT/XSL-FO hands-on courses:      Wellington, NZ 2009-01
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread