[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member