Subject: Re: [xsl] Translate characters in a string From: Geert Josten <Geert.Josten@xxxxxxxxxxx> Date: Sun, 12 Dec 2004 22:14:01 +0100 |
" The FAQ has a good section on string replacement at, http://www.dpawson.co.uk/xsl/sect2/StringReplace.html
Kev. "
Hi! I have a series of strings that look like this:
<item>Technical writer%aAnalytical approach%bPractical matters</item>
I want to output this in HTML as:
Technical writer--Analytical approach--Practical matters
So in other words, I wants to translate % and the character following it (a, b, c, etc.) into a hyphen character. I'm sure I need to use some type of recursive template, but am not sure how to put it all together.
Thanks for any help.
Mulligh
-- Geert.Josten@xxxxxxxxxxx IT-consultant at Daidalos BV, Zoetermeer (NL)
http://www.daidalos.nl/ tel:+31-(0)79-3316961 fax:+31-(0)79-3316464
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Translate characters in a str, M. Carlson | Thread | [xsl] output IE conditional comment, Wong Chin Shin |
[xsl] Translate characters in a str, M. Carlson | Date | [xsl] output IE conditional comment, Wong Chin Shin |
Month |