Insert() methods check for inserted XML to be in the same doc, and remove XML from old location if already inserted.
formatting tweaks
up the version