This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: String manipulation question
- To: xsl-list at mulberrytech dot com
- Subject: Re: String manipulation question
- From: Warren Hedley <w dot hedley at auckland dot ac dot nz>
- Date: Thu, 29 Jun 2000 09:24:28 -0400
- CC: Terris <terris at terris dot org>
- Organization: Department of Engineering Science, The University of Auckland
- References: <039301bfe174$9332a910$4400a8c0@netacumen.com>
- Reply-To: xsl-list at mulberrytech dot com
Terris wrote:
>
> 1. seems pretty simple... just get rid of the T.
>
> 2. Replace all occurences of one character
> with another.
Mike Brown wrote:
>
> See the Functions section of the XPath spec, which is mentioned about a
> million times in the XSLT spec.
To be a bit more specific, the translate() function does
what you want in both cases. The documentation is here:
http://www.w3.org/TR/xpath#function-translate
--
Warren Hedley
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list