[Bug 29604] [XSLT30] Request for clarification of statement in section https://www.w3.org/TR/xslt-30/#stream-examples

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

--- Comment #2 from Michael Kay <mike@saxonica.com> ---
Whoops, I wish that Bugzilla allowed you to edit your submissions! Here's an
improvement:

<xsl:template name="xsl:initial-template" expand-text="yes">
  <xsl:stream href="transactions.xml">
    <xsl:variable name="aggregates" 
      select="map{'count': count(transactions/transaction),
                  'maxValue':
"max(transactions/transaction/xs:decimal(@value))}"/>
    <count>{$aggregates?count}</count>
    <maxValue>{$aggregates?maxValue}</maxValue>
  </xsl:stream>
</xsl:template>

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

Received on Thursday, 12 May 2016 10:18:11 UTC