xsl-list
[Top] [All Lists]

Re: [xsl] Conditional field content generation

2009-02-17 03:43:44
On Tue, Feb 17, 2009 at 12:14 PM, Eugene Bernard
<eugene(_dot_)bernard(_at_)gmail(_dot_)com> 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

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>