xsl-list
[Top] [All Lists]

Translate characters in a string

2004-12-12 12:25:24
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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>