Subject: Re: [xsl] logical and, and logical or From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Thu, 14 Sep 2006 19:03:03 +0200 |
Hmm, I recognize that there are respective operators now but I was (and am still) missing the corresponding functions.If you really want a function, you can do it in XSLT 2:
Best wishes, Wolfgang
<!-- acts as an and() function with two params --> <xsl:function name="yourns:and"> <xsl:param name="prefix" /> <xsl:param name="postfix" /> <xsl:value-of select="$prefix and $postfix" /> </xsl:function>
<!-- acts as an or() function with two params --> <xsl:function name="yourns:or"> <xsl:param name="prefix" /> <xsl:param name="postfix" /> <xsl:value-of select="$prefix or $postfix" /> </xsl:function>
Cheers, Abel Braaksma http://abelleba.metacarpus.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] logical and, and logical , Wolfgang Jeltsch | Thread | Re: [xsl] logical and, and logical , Wolfgang Jeltsch |
[xsl] Grouping the node based on th, Senthilkumaravelan K | Date | [xsl] Ignoring Duplicates In key(), Bob Portnell |
Month |