[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Documentation on string-replace
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;#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
|
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
|