Item1 | Item2 |
10 | 14 |
49.99 | 69.99 |
The structure of a table (TD inside TR) does not allow a direct transformation.
You could do a TR/TD for each line.
Then a loop on each of them.
This is not very efficient, as you loop for each row, for every columns. But if you have a manageable number of colums.
If you don't know the number of lines.
You need to generate de directives dynamically.
And finally, you could use nested UL/LI instead of a table. And with CSS give them a table look.
Cheers,
-Mic