get doctype correctly
remove cloneNode prevent clone Node resource reuqest
support for document delta upload