I'm writing a transformation to convert xhtml -> html. I'm trying without
much success to write a template rule to replace all the bgcolor attribute
values in the source document with a specific value. The problem I'm having
is that I already have rules that match many of the elements in the xhtml
document. For example, if the source document has the following fragment:
<table>
<tr>
<td bgcolor="#ffffff">
some text here
</td>
</tr>
</table>
I already have a template rule that matches "table" and does some
processing. How can I write a global rule that will replace the bgcolor
value in the <td> and then go on to match my "table" rule?
Thanks in advance for any help.
--
| Mat Jones "Smart Applications - Tools for life"
| Application Developer available @
| Insight ASP LTD http://www.myopenapps.com
+----------Open Source Innovation--------------