[oXygen-sdk] Best way to create a new editor, insert XML and pretty print