Re: [xsl] Variable in XPath

Subject: Re: [xsl] Variable in XPath
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Wed, 27 Jun 2007 19:28:52 +0200
Florent Georges wrote:
<xsl:sequence select="
if ( empty($rhs) ) then
true()
else
$lhs eq $rhs"/>
</xsl:function>

if you like, you can also write this as:


<xsl:sequence select="(empty($rhs), $lhs eq $rhs)[.]" />

-- Abel

Current Thread