Subject: Re: [xsl] logical and in selection expression possible? From: "Alex Reuter" <xslalex@xxxxxxxxxxx> Date: Thu, 18 Jul 2002 16:43:06 +0000 |
From: David Carlisle <davidc@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] logical and in selection , Alex Reuter | Thread | Re: [xsl] logical and in selection , Alex Reuter |
Re: [xsl] xslt spec - or condition, Francis Norton | Date | Re: [xsl] Server-Side XSLT on Apach, Guy McArthur |
Month |