O
okey
I have to believe this has been done many time before.
We have a well formed html <table> which contains X rows with Y
columns in each. Nice and regular...
Each <td> however contains mutliple chunks of data. Data in these
cells is delimited by a <br />
but could be anything I guess.
We need to take this table and regenerate it so that each data chunk
has it's own row.
For example
<table>
<tr>
<td>item01</td>
<td>item<br />item< br/>item</td>
</tr>
<tr>
<td>item03<br/></td>
<td>item<br /></td>
</tr>
would result in
<table>
<tr>
<td>item01</td>
<td>item</td>
</tr>
<tr>
<td>item01</td>
<td>item</td>
</tr>
<td>item01</td>
<td>item</td>
</tr>
<tr>
<td>item03 .....
.... and so on.
We could code this. but this has to be some kind of module (with
normal good module stuff). Is there something out there
We have a well formed html <table> which contains X rows with Y
columns in each. Nice and regular...
Each <td> however contains mutliple chunks of data. Data in these
cells is delimited by a <br />
but could be anything I guess.
We need to take this table and regenerate it so that each data chunk
has it's own row.
For example
<table>
<tr>
<td>item01</td>
<td>item<br />item< br/>item</td>
</tr>
<tr>
<td>item03<br/></td>
<td>item<br /></td>
</tr>
would result in
<table>
<tr>
<td>item01</td>
<td>item</td>
</tr>
<tr>
<td>item01</td>
<td>item</td>
</tr>
<td>item01</td>
<td>item</td>
</tr>
<tr>
<td>item03 .....
.... and so on.
We could code this. but this has to be some kind of module (with
normal good module stuff). Is there something out there