Re: Documentation on string-replace

Subject: Re: Documentation on string-replace
From: Jennifer Moter <jmoter@xxxxxxxxxxxxxxxx>
Date: Thu, 17 Feb 2000 14:44:22 -0600
I think you may be thinking of xpath's translate:
this reads:
if 1st row's 1st cell doesn't contain a dollar sign,
then remove the (urlencoded) nonbreaking space and replace it with a space

<xsl:if test="not(contains(../TR[1]/TD/FONT,'$'))">
<AmountDue>
<xsl:value-of select="translate(../TR[1]/TD/FONT, '$&amp;amp;#160',' ')"/>
</AmountDue>
</xsl:if>
more good string functions in the xml bible
http://metalab.unc.edu/xml/books/bible/
chapters 14 xsl transformation is available online.



At 05:24 PM 2/17/00, you wrote:
I have seen some references to a string-replace function in XSL and
would like to know where I can get some documentation about this feature
and possibly some examples.
Thanks,
Ben Bertola


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread