Update getText

added support for getting text from the document by using the selix function getText