Custom tables

Sometimes we need to render material in tabular form when that material is not marked up as a CALS or HTML table. For example, an invoice item might be marked up as:

<item>
  <code>SL6500A</code>
  <quantity>20</quantity>
  <unit-price>14.50</unit-price>
  <total-price>290.00</total-price>
</item>

To render this item as a table row, we could of course pre-process the source to create CALS or HTML table markup. Alternatively, you can process the content as a custom table, a structure that maps individual elements directly into a tabular format that conforms to the underlying publication table model.