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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6848

           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