W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2009

[Bug 6848] New: xsl:copy select="$x"

From: <bugzilla@wiggum.w3.org>
Date: Mon, 27 Apr 2009 07:44:40 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-6848-523@http.www.w3.org/Bugs/Public/>

           Summary: xsl:copy select="$x"
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: XSLT 2.1
        AssignedTo: mike@saxonica.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org

The xsl:copy instruction is just about the only construct left in XPath or XSLT
that takes the context node as its operand and doesn't allow a different node
to be specified. This can require awkward use of xsl:for-each to change the
context node, as illustrated in the specimen code for the snapshot() function
in the XSLT 2.1 draft. 

This is easily fixed by adding a select attribute to the instruction.

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 Monday, 27 April 2009 07:44:49 UTC

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