xsl-list
[Top] [All Lists]

replace table by one code tag

2005-01-21 03:51:29
Hi,

I want to replace all HTML <table> with attribute bgcolor="blue" by
<code></code> tags. But if the table contains <code>, I want the result to have
only one <code>

ie :
<table bgcolor="blue"><tr><td><code>a<code>b</code></code>c</...>
or
<table bgcolor="blue"><tr><td>abc</...>
must return
<code>abc</code>

Any suggestion?

regards,
Steve

--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>