[xsl] Denormalizing formatting

Subject: [xsl] Denormalizing formatting
From: "Charles O'Connor" <charles.oconnor@xxxxxxxxxxxx>
Date: Mon, 8 Oct 2012 16:07:30 -0400
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

Current Thread