Inserting inner text into an XML element
In some cases, an XML file might use the inner text of an element to configure a setting. For example, if you view the properties of an ASP.NET project, there's a Settings tab where you can add rows of named application settings:
These settings will be stored in Web.config
under the applicationSettings
node:
<configuration> <!--Other elements omitted for brevity--> <applicationSettings> <MyWebApp.Properties.Settings> <setting name="MySetting" serializeAs="String"> <value>ValueA</value> </setting> </MyWebApp.Properties.Settings> </applicationSettings> </configuration>
As you can see, the value of the setting ...
Get WiX Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.