[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] replace table by one code tag


Subject: [xsl] replace table by one code tag
From: rd.contact@xxxxxxx
Date: Fri, 21 Jan 2005 11:51:29 +0100

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


Current Thread