Re: [xsl] Conditional field content generation

Subject: Re: [xsl] Conditional field content generation
From: Mukul Gandhi <gandhi.mukul@xxxxxxxxx>
Date: Tue, 17 Feb 2009 14:13:18 +0530
On Tue, Feb 17, 2009 at 12:14 PM, Eugene Bernard
<eugene.bernard@xxxxxxxxx> wrote:
> the new field content should be OK if <desc2> values is same and first
> 6 characters of
> <desc1> value should also be same.

Though, the above requirement looks a bit ambiguous to me.

but it seems, you need something like following

<td>
   <xsl:if test="desc2 = substring(desc1, 1, 6)">
     OK
   </xsl:if>
</td>


-- 
Regards,
Mukul Gandhi

Current Thread