On 11 February 2012 16:59, Andrew Welch
<andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com> wrote:
An new requirement demands that all the various <table> elements are
to be wrapped with another <table> (with a single <tr>) for layout
purposes, adding one <td> with uniform contents to the <td> containing
the original table.
It's hard to give a decent answer with an actual example, but 2 options are:
- modify the transform to just output the wrapper code
This would be the added layout table for enclosing the actual table
and the new additions - but how would the original tables be added?
<table class="wrapper">
<tr>
<td><table class="original table, one of many different
tables"><tr>...</table></td>
<td><div class="new stuff, same for all"/></td>
</tr>
</table>
- use 'micro-pipelining' to post-process the result to wrap the <table>s
OK, I understand. But I'd have to identify the "original" tables or
XPath-pick them carefully because a <table> might crop up as an
element within an "original" table.
Thanks
Wolfgang
--
Andrew Welch
http://andrewjwelch.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>
--~--
--~------------------------------------------------------------------
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>
--~--