xsl-list
[Top] [All Lists]

Re: [xsl] String manipulation XSLT 1.0

2010-09-23 07:17:45
<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 

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