Re: [xsl] Qualified variable names

Subject: Re: [xsl] Qualified variable names
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Mon, 10 Nov 2008 06:44:04 -0800
On Mon, Nov 10, 2008 at 3:04 AM, Michael Kay <mike@xxxxxxxxxxxx> wrote:
>> I've often thought Final and Abstract type modifiers would be
>> useful, maybe now would be a good time to submit a proposal for 2.1.
>>
> There is a sketched proposal at
> http://www.w3.org/Bugs/Public/show_bug.cgi?id=5312. Feel free to comment on
> it within the bugzilla thread.

This proposal is extremely important. Its incorporation into XSLT 2.1
would provide the capability to have separately compiled libraries (as
opposed to a main stylesheet == "separate application") of functions.

I have a remark about making sure a specific mode in the module cannot
accidentally be selected (this is not the same as overriden !) by an
external template with
     mode="#all"

The existing text ( (d) in the Description, and (f) in the second post
by Dr. Kay) does not rule out such a possibility.

In particular, there is a need that a mode with a name defined in the
module be accessible, but only *by name*, to exteranal
<xsl:apply-templates> instructions. At the same time, any external
<xsl:template> that has
  mode ="#all"
should not be available for selection in a mode defined in the specific module.

Cheers,
Dimitre Novatchev

>
> Michael Kay
> http://www.saxonica.com/
>
>



-- 
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play

Current Thread