xsl-list
[Top] [All Lists]

[xsl] dynamic grouping assignment

2007-07-15 22:49:03
Hi,
How can I dynamically assing a grouping key, where I provide some of the 
grouping keys as parameters.

I have the parameters

  <xsl:param name="groupingKeys" >
        <key>order_typ</key>
        <key>ordr_block</key>
    </xsl:param > 

I would like to add to the group-by evaluation.

 <xsl:for-each-group select="result" group-by="concat(receiver, operation, 
data, prev_bus_state, string-join(for $x in $groupingKeys return $x/key, 
','))">

I guess I need to use the saxon:evaluate() extension, but I couldn't get 
it right.

thanks


This message and any attachment ("the Message") are confidential. If you are 
not the intended recipient any use is strictly prohibited. If you have received 
the Message in error, please notify the sender immediately and delete the 
Message from your system, any use is forbidden. Correspondence via e-mail is 
primarily for information purposes. KAG/RVV/RIFA/ImmoKAG neither makes nor 
accepts legally binding statements unless otherwise agreed to the contrary.

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>