Subject: Re: [xsl] String manipulation XSLT 1.0 From: Emmanuel Bégué <eb@xxxxxxxxxx> Date: Thu, 23 Sep 2010 14:43:38 +0200 |
Did you try using normalize-space() on the result of replace? That should remove the trailing space. Regards, EB On Thu, Sep 23, 2010 at 2:17 PM, <pankaj.c@xxxxxxxxxxxxxxxxxx> wrote: > <xsl:call-template name="replace-substring"> > <xsl:with-param name="original" select="."/> > <xsl:with-param name="substring" select="'.'"/> > <xsl:with-param name="replacement" select="'. '"/> > </xsl:call-template> > > > Well I cannot still workout avoiding "space" on last initial using above. > > Any better way to get this done otherwise It seems to me that I will end > up string-length() with substring-before()/substring-after() combination. > :-( > > TIA, > Pankaj
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] String manipulation XSLT , pankaj . c | Thread | Re: [xsl] String manipulation XSLT , pankaj . c |
Re: [xsl] String manipulation XSLT , pankaj . c | Date | Re: [xsl] Making nested elements fr, russurquhart1 |
Month |