Text class extracts text form PAGE XML