Adding a Namespace Prefix to an Element

InstallShield 2020

Project:This information applies to the following project types:

Basic MSI
DIM
InstallScript
InstallScript MSI
Merge Module
MSI Database
Transform

If you have declared a namespace mapping for an XML file, you can associate any element in the file with that namespace by adding the corresponding prefix to the element.

To add a namespace prefix to an element:

1. In the View List under System Configuration, click XML File Changes.
2. In the XML Files explorer, right-click the element to which you want to add a prefix and then do one of the following:
To add a prefix to only the selected element, point to Namespace Prefix, and then click to the appropriate namespace mapping.
To add a prefix to the element and all of its subelements, point to Namespace Prefix (include all subelements), and then click to the appropriate namespace mapping.

InstallShield adds the prefix to the element (and all of its subelements, if appropriate) in the XML Files explorer.

Tip:You can also add a namespace prefix by right-clicking an element, clicking Rename, and adding the prefix and the colon (:) before the element name.

See Also