Untangling Tables

<!ELEMENT table ((thead?, tfoot?,
                 (tbody|tr+)) | tgroup)>

<!ATTLIST table
        frame   (above | all | below | ...
                 ... | void | vsides) #IMPLIED
>

<!ELEMENT tbody (tr+ | row+)>