xsl-list
[Top] [All Lists]

Re: [xsl] Qualified variable names

2008-11-10 09:44:35
On Mon, Nov 10, 2008 at 3:04 AM, Michael Kay <mike(_at_)saxonica(_dot_)com> 
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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>