Wolfgang Jeltsch wrote:
Hmm, I recognize that there are respective operators now but I was (and am
still) missing the corresponding functions.
Best wishes,
Wolfgang
If you really want a function, you can do it in XSLT 2:
<!-- 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>
But tell me, really, was this what you were looking for? A function as a
replacement of an operator?
Cheers,
Abel Braaksma
http://abelleba.metacarpus.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--