Preliminary support for mapping complicated document structure onto
related tables