add HTML tags via XSLT
I'm trying to use XSLT to format XML to HTML.
The thing is I need to format certain nodes by adding HTML tags to the node text
For example, I need to replace one or more strings of "B, " with "<sup>B</sup>, ".
and when it is outputed to HTML I need the tags to read as tags and put the superscript around the "B"
<stuff>item3B, item2, item1B, item4</stuff>
need to be in html
item3<sup>B</sup>, item2, item1<sup>B</sup>, item4
How to do so would be great!