[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: String comparison
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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|