The XML Element Settings TabText
Specify the element or comment text.
For example, if you need to insert an element in the form <node>text content</node>, set the Text for the "node" element to "text content".
InstallIn this section you can specify the installation behavior of the XML element. Create element if it doesn't already existIf a matching element is not found and this option is enabled, the element will be created in the desired location, under the specified parent. If the element is found update first matchingIf several matching elements are found and this option is enabled, only the first occurrence will be updated. If the element is found update all matchingIf several matching elements are found and this option is enabled, all the occurrences are updated with the same changes. If the element is found add as siblingIf matching elements are found and this option is enabled, the element will be added as a sibling of the detected nodes.
For example, if the target XML file looks like:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<CONFIG Name="Default" CreateVersion="1.0" Version="1.0" Type="ReadOnly">
<OPTION type="single" name="ExtractLinkInfo">
<PARAM value="true"/>
</OPTION>
<OPTION type="single" name="ParseINIFiles">
<PARAM value="true"/>
</OPTION>
<OPTION type="single" name="PromptAfterInstall">
<PARAM value="false"/>
</OPTION>
<OPTION type="single" name="ExtractVersionInfo">
<PARAM value="false"/>
</OPTION>
<OPTION <type="multi" name="FileExtWithVersionInfo">
<PARAM value="dll"/>
<PARAM value="exe"/>
<PARAM value="ocx"/>
</OPTION>
</CONFIG>and you want to update the element: <OPTION type="single" name="ParseINIFiles"> <PARAM value="true"/> </OPTION> by changing the value of "PARAM" to "false", in order to identify the desired "OPTION" node from the file, you can specify the attribute "name" with the value "ParseINIFiles" (for the "OPTION" element) as being an identifier attribute.
UninstallRemove element on uninstallIf it exists, the element will be removed when the attached component is uninstalled. | |
|
| Privacy Policy | Windows Installer | Search Engine Ranking | Link Analyzer | ||
| © 2002 - 2008 Caphyon Ltd. Trademarks belong to their respective owners. All rights reserved. | ||