work with documentfragments when possible