How can i save a svg or xml has overlays doms

As far as I know, this is not possible at the moment with our toolkit API. Please refer to this thread.