Subject: Re: logical and in selection expression possible?
From: "Alex Reuter" <xslalex@xxxxxxxxxxx>
Date: Thu, 18 Jul 2002 16:43:06 +0000
|
Thanks David.
From: David Carlisle <davidc@xxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: logical and in selection expression possible?
Date: Thu, 18 Jul 2002 17:17:29 +0100
<xsl:apply-templates select="key('key', rulekey1') and key('key',
'rulekey2') "/>
you want | there not and and is a boolean operator so this expression
will evaluate to true or false. but a select expression needs a node
set.
<xsl:template match="rule and rule2">
ditto.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|