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

Re: logical and in selection expression possible?

Subject: Re: logical and in selection expression possible?
From: "Alex Reuter" <xslalex@xxxxxxxxxxx>
Date: Thu, 18 Jul 2002 16:17:50 +0000
alex reuter
Once again,
'Open Electronic Mouth, insert Electronic Foot'

Looking at the previous post I see that not only has my question been answered, but it was answered before I even asked the question. This list is prescient!

So I used the | in place of and in my example below and everything worked great.

Thanks,
Alex


From: "Alex Reuter" <xslalex@xxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject:  logical and in selection expression possible?
Date: Thu, 18 Jul 2002 15:57:39 +0000



Hello,
I was wondering is it possible to do the following:


<xsl:apply-templates select="key('key', rulekey1') and key('key', 'rulekey2') "/>


where rulekey1 is a <rule> node and rulekey2 is a <rule2> node,

and have the template match on the following:
<xsl:template match="rule and rule2">
do stuff
</xsl:template>


I hope this is clear. Is is possible?


Thanks,
Alex


_________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com


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




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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.