Example XML File and Impact on the Database
The following is an example XML file to specify additional feature information that is not contained in the report logs.
<AllVendors>
<vendor name="vendor1">
<feature name="f1" displayName="feature1" softwareCategory="sc1" costFactor="32" />
<feature name="f2" softwareCategory="sc1" costFactor="31" />
<feature name="f3" />
</vendor>
</AllVendors>
In the previous example, the following updates would be made to the database:
• | For vendor vendor1, the displayName property will be set to NULL because it is not specified. |
• | For feature f1, all properties (displayName, softwareCategory, and costFactor) will be updated because they are all specified. |
• | For feature f2, the softwareCategory and costFactor properties will be updated, while the displayName property will be set to NULL because it is not specified. |
• | For feature f3, all properties (displayName, softwareCategory, and costFactor) will be set to NULL because they are not specified. |