W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2012

[Bug 9734] default initial template

From: <bugzilla@jessica.w3.org>
Date: Fri, 29 Jun 2012 02:50:21 +0000
Message-Id: <E1SkRHp-0005pq-76@jessica.w3.org>
To: public-qt-comments@w3.org

dnovatchev@gmail.com changed:

           What    |Removed                     |Added
                 CC|                            |dnovatchev@gmail.com

--- Comment #6 from dnovatchev@gmail.com 2012-06-29 02:50:29 UTC ---
I would like to propose a slightly different solution that eliminates
completely the problems of naming the initial template (in case it is named),
or of conflict resolution.

We modify the syntax of <xsl:template> as follows:

 1. A new attribute of <xsl:template is introduced:

 2. The "initial-template" attribute is mutually exclusive with any of the
"match" or "name" attributes. It is a static error if an <xsl:template>
instruction has the "initial-template" attribute specified and also has a
"match" or a "name" (or both) attribute specified.

 3. It is a static error if a stylesheet module contains more than one template
having an "initial-template" attribute with value "yes".

 4. If a template with  initial-template="yes" is residing in a stylesheet
module that isn't the primary stylesheet module in the transformation, its
initial template is ignored.

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 29 June 2012 04:05:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:39 UTC