new version of xhtmlTable class