Subject: Re: [xsl] Re: How can I translate a single letter into a letter inside an element? From: Chris Loschen <loschen@xxxxxxxxxxxxx> Date: Tue, 18 Feb 2003 15:17:05 -0500 |
> That seems like it ought to be doable, but I'd need to replace > individual characters with a string of characters. I've just checked > out Jeni Tennison's template for "multiple string replacements" at > http://www.dpawson.co.uk/xsl/sect2/StringReplace.html and it looks > promising -- is that the way I should go? Or is there some simpler > solution? I guess I'm hoping for something like the translate() > function
The "str-map" template from FXSL does exactly this. For a recent example do have a look at:
"Re: find capital letters in string and split it" http://article.gmane.org/gmane.text.xml.xsl.general.mulberrytech/7083
===== Cheers,
Dimitre Novatchev. http://fxsl.sourceforge.net/ -- the home of FXSL
__________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: How can I translate a sin, Dimitre Novatchev | Thread | [xsl] Re: Re: How can I translate a, Dimitre Novatchev |
[xsl] Code Structure Question, Michael A. Thompson | Date | Re: [xsl] Selecting from a node-set, J.Pietschmann |
Month |