support document fragments