This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: String manipulation question


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]