[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
string.replace space
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.