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

[Bug 29705] New: [xslt3.0] global-context-item() function

From: <bugzilla@jessica.w3.org>
Date: Sat, 25 Jun 2016 15:47:43 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29705-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 29705
           Summary: [xslt3.0] global-context-item() function
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---

Would it be useful to have a function


to return the value of the global context item (or () if absent)?

Firstly it saves the user the trouble of binding a global variable

<xsl:variable name="source" select="."/>

Secondly it provides a way of determining (without try/catch) whether a global
context item was actually supplied, by testing 


In Saxon-CE and Saxon-JS we have a vendor extension function ixsl:source() with
this meaning; it would be nice to be able to use a core function instead.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Saturday, 25 June 2016 15:47:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:01 UTC