[xsl] Using concatenated Keys

Subject: [xsl] Using concatenated Keys
From: william.crawley@xxxxxxxxxxxxxx
Date: Tue, 23 Jan 2001 11:05:26 +0000 (GMT)
Hi All,

i have the following declared Key:

<xsl:key name="givePolTotalTrans" match="POL_TOTAL_TRANS_PREMIUM" 
use="concat
(@POLICY_ID,'!',@DRIVER_NUMBER,'!',@VEHICLE_NUMBER,'!',@DWELLING_NUMBER)
"/>

When I call this key using:

<xsl:variable name="getPolTotalTrans" select="key('givePolTotalTrans', 
concat(@POLICY_ID,'!0!0!0'))"/>

This works fine since I'm being explicit in my selection.

If however I want to call using te same key, where I dont care about 
the value in driver_number or dwelling_number, but the vehicle_number 
must be greater than 0, how do I construct the call to achieve this.

Thanks
Bill Crawley

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread