Amaya controls the structure conformance It makes tree transformation while editing (cut, paste, transform):
File: HTML.trans
Table: DL{(DT|DD)+}; { DT > <TABLE border=1>.TBODY:TR.TD; DD > TABLE.TBODY.TR:TD;}
Irene Vatton