See
UpdateXmlMessages