webstuff

XSLT generic table generator

This simple stylesheet generates a HTML table from any input file structured like:

<root>
  <row-1>
    <col-A>...</col-A>
    <col-B>...</col-B>
    ...
  </row-1>
  <row-2>
    <col-A>...</col-A>
    <col-B>...</col-B>
    ...
  </row-2>
  ...
</root>

It will transform input files no matter what the element names are, and no matter how many columns.

demo

files