Issue 1: Corrected handling of vertical and horizontal spanning.
Issue 1: Added test for table handling. Corrected syntax error in xslt.