document_src: return processed document source