Re: [xsl] logical and in selection expression possible?

Subject: Re: [xsl] logical and in selection expression possible?
From: "Alex Reuter" <xslalex@xxxxxxxxxxx>
Date: Thu, 18 Jul 2002 16:17:50 +0000
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: [xsl] 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