ARQGRA-356: extending support of body-referencing to html/body/head (document-root referencing