Added ability to get doc's as xml from cursor position in playground file