XML document handler for creating, editing and saving simple XML messages programmatically