[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
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] Translate characters in a string
Subject: [xsl] Translate characters in a string From: "M. Carlson" <mulligh@xxxxxxxxxxx> Date: Sun, 12 Dec 2004 11:25:24 -0800 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Transform list of element, Jannis Pohlmann | Thread | Re: [xsl] Translate characters in a, Geert Josten |
RE: [xsl] How to use xPath expressi, Michael Kay | Date | Re: [xsl] Translate characters in a, Geert Josten |
Month |