[Bug 25703] New: Example of xsl:merge still contains bind-key attribute

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25703

            Bug ID: 25703
           Summary: Example of xsl:merge still contains bind-key attribute
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: innovimax+w3c@gmail.com
        QA Contact: public-qt-comments@w3.org

The example in 15.8 Examples of xsl:merge still make use of bind-key attribute

[[
<xsl:merge bind-key="merge-key">
  <xsl:merge-source name="master" 
                    select="doc('master.xml')/data/record">
      <xsl:merge-key select="@ID"/>
  </xsl:merge-source>
  <xsl:merge-source name="updates"
                    sort-before-merge="yes"
                    select="doc('transactions.xml')/transactions/update">     
      <xsl:merge-key select="@record"/>
  </xsl:merge-source>
  <xsl:merge-action>
    <xsl:choose>
      <xsl:when test="empty(current-merge-group('updates'))">
        <xsl:copy-of select="current-merge-group('master')"/>
      </xsl:when>
      <xsl:when test="current-merge-group('updates')/@action=('insert',
'replace')">
        <record ID="{$merge-key}">
          <xsl:copy-of select="current-merge-group('updates')/*"/>
        </record>
      </xsl:when>
      <xsl:when test="current-merge-group('updates')/@action='delete'"/>
    </xsl:choose>
  </xsl:merge-action>
  </xsl:merge>
]]

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 14 May 2014 08:03:48 UTC