Set semantic document type