This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: logical and in selection expression possible?
- From: "Alex Reuter" <xslalex at hotmail dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 18 Jul 2002 16:17:50 +0000
- Subject: Re: [xsl] logical and in selection expression possible?
- Reply-to: xsl-list at lists dot mulberrytech dot com
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@hotmail.com>
Reply-To: xsl-list@lists.mulberrytech.com
To: XSL-List@lists.mulberrytech.com
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