Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor