table / dom transformation helpers (currently needed by soap extension only)