Subject: Re: [xsl] String comparison From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx> Date: Fri, 24 Sep 2010 14:31:33 +0200 |
Functions is only 2.0, sorry. On 24 September 2010 12:09, <pankaj.c@xxxxxxxxxxxxxxxxxx> wrote: > <xsl:function name="wl:trdif"> > <xsl:param name="a" as="xsd:string"/> > <xsl:param name="b" as="xsd:string"/> > <xsl:choose> > <xsl:when test="string-length($a) = 0 or > substring($a,1,1) != substring($b,1,1)"> > <xsl:value-of select="$b"/> > </xsl:when> > <xsl:otherwise> > <xsl:value-of select="wl:trdif(substring($a,2),substring($b,2))"/> > </xsl:otherwise> > </xsl:choose> > </xsl:function> > > Thanks Laun for suggestion, I will look into that.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] String comparison, pankaj . c | Thread | Re: [xsl] String comparison, Wendell Piez |
Re: [xsl] String manipulation XSLT , pankaj . c | Date | [xsl] [xsl-fo] tagging for poems (w, Christian Kirchhoff |
Month |