change the text transfer algorithm: create declared namespaces on the fly (issue #10)