This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Using concatenated Keys
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Using concatenated Keys
- From: william dot crawley at ukonline dot co dot uk
- Date: Tue, 23 Jan 2001 11:05:26 +0000 (GMT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
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