document_position function

Create a Document Position