Hi,
I am trying to denormalize formatting tags to transform:
<p>Here is some <bold>funky bold text with <italic>some of it also italic and
perhaps <underline>underlined</underline>as well.</italic></bold></p>
to:
<p>Here is some <bold>funky bold text with </bold><bold><italic>some of it
also italic and perhaps
</italic></bold><bold><italic><underline>underlined</underline></italic></bol
d><bold><italic> well.</italic></bold></p>
The developer I'm working with wants to use string manipulation in .NET, but
I'm thinking that XSL would be a more elegant solution.
Can anyone point me to a snippet of code that I could modify to get the
desired effect? I imagine someone has at some time needed to do something
similar.
Thanks!
Charles
CHARLES O'CONNOR| WORKFLOW AUTOMATION SPECIALIST
DARTMOUTH JOURNAL SERVICES
5 Pilgrim Park Rd, Suite 5 | Waterbury, VT 05676 | Direct 802.882.1670
charles.oconnor@xxxxxxxxxxxx www.sheridan.com
|