The AppLife Update Blog

A complete solution for maintaining deployed software on the Windows platform

  • Insert Raw Xml During an Update

    The Change Xml Node action can be used to add content to an Xml Node, and it can also insert additional, or raw Xml into a file.  To insert raw Xml, uncheck the option to Use Xml encoding in replacement text.


    Here’s an example of when this feature comes in handy.  The objective is to insert two new entries into the web.config assemblyBinding node.  We can replace the entire content of the target node as raw Xml.  After an update, we end up with:

    Non - Encoded Insert

    Here’s what is inserted if we do not uncheck the box:

    Encoded Insert

    Clearly not the desired result.

    Posted at January 12, 2016 | Categories : AppLife Update, Software Maintenance |