get the text of the document's title