Document fragment template