reconstructing whole TEI doc