[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Using concatenated Keys

Subject: Using concatenated Keys
From: william.crawley@xxxxxxxxxxxxxx
Date: Tue, 23 Jan 2001 11:05:26 +0000 (GMT)
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.