I want to hide any tables of certain name which contain cells of certain name.
To hide the cell, I'd use this:
#TD(class=cellname)
To hide the whole table regardless of contents, I'd use:
#TABLE(class=tablename)
To hide a cell of cellname only if it lay in a table of tablename I'd use:
##TABLE.tablename TD.cellname
However, I can't work out how to use hide the entire table based on whether it contained cellname. Any help?

Thanks