xsl-list
[Top] [All Lists]

[xsl] Sorting out rowspans

2008-02-11 09:57:25
Hi List,

Thanks in advance for any help. I'm having a hard time figuring a
little bit of XSLT,, Monday maybe. I'm reprocessing some XML from an
Indesign file and trying to figure out how to re-group rowspans.

What I have.

<tr>
  <td>col1</td>
  <td rowspan="2">col2</td>
</tr>
<tr>
  <td>col1</td>
  <td>col1</td>
</tr>
<tr>
  <td>col2</td>
</tr>

Which should be processed to create:

<tr>
  <td>col1</td>
  <td rowspan="2">col2</td>
</tr>
<tr>
  <td>col1</td>
</tr>
<tr>
  <td>col1</td>
  <td>col2</td>
</tr>

Any thoughts on a nice way of doing this.. I'm using XSLT 2.0.

Thanks,

Spencer

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