W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2010

[Bug 9734] New: default initial template

From: <bugzilla@jessica.w3.org>
Date: Fri, 14 May 2010 15:18:12 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-9734-523@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9734

           Summary: default initial template
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 2.1
        AssignedTo: mike@saxonica.com
        ReportedBy: andrew.j.welch@gmail.com
         QAContact: public-qt-comments@w3.org


It would be useful as the stylesheet author to be able to define a default
initial template within the stylesheet.

This would allow a transform with no input to be run without the need for the
user to supply the name of initial template, apply it to itself.

For example,

<xsl:stylesheet ... 
  default-initial-template="main">

<xsl:template name="main">

This would simplify it for people and applications to run "standalone"
transforms.

-- 
Configure bugmail: http://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, 14 May 2010 15:18:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:42 UTC