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></bold><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(_dot_)oconnor(_at_)sheridan(_dot_)com www.sheridan.com
--~------------------------------------------------------------------
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>
--~--