This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Using concatenated Keys


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]