- From: <bugzilla@jessica.w3.org>
- Date: Thu, 12 May 2016 10:18:04 +0000
- To: public-qt-comments@w3.org
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