Hi,
I created a table with the following fields:
1. Vendor's code
2. Vendor's name
3. Quantity of orders: count(orders)
4. Total of orders: sum(orders/total)
When the user clicks on the header of the table he can sort that column. In
the xls I wrote:
<td title="Click here to sort this column" align="center"><div class="header"
onClick="sort('code', 'number')">Code</div></td>
And to sort:
<xsl:apply-templates>
<xsl:sort select="*[name() = $FieldSort]" data-type="{$FieldType}" />
</xsl:apply-templates>
It works to vendor's code and name, because "code" and "name" are tags in
the xml. But how can I sort the quantity and total of orders?
I am using MSXML.
Thanks in advance,
Vanessa
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--