The Conditions XML structure represents the list of conditions (feature names / feature values) present in your system.
Example
<cm:conditions xmlns:cm="urn:trisoft.be:InfoShare:ConditionManagement:1.0"
xmlns:mgmt="urn:trisoft.be:InfoShare:ConditionManagement:Management:1.0">
<cm:condition name="SERNO" datatype="Text" range="Y" mgmt:author="frankc"
mgmt:created="20030114" mgmt:modified="20030114">
<mgmt:source>Product Connect</ mgmt:source >
<cm:label>Serial Number</cm:label>
<cm:description>Serial Number</cm:description>
</cm:condition>
<cm:condition name="ACOOL" datatype="Text" range="N" mgmt:author="frankc"
mgmt:created="20030114" mgmt:modified="20030114">
<cm:label>ACOOL</cm:label>
<cm:description>Aftercooler</cm:description>
<cm:conditionvalue name="ACOOL:N" value="N" mgmt:author="frankc"
mgmt:created="20030114" mgmt:modified="20030114">
<mgmt:source>InfoShare</ mgmt:source >
<cm:label>N</cm:label>
<cm:description>Hot air variant</cm:description>
</cm:conditionvalue>
<cm:conditionvalue name="ACOOL:Y" value="Y" mgmt:author="frankc"
mgmt:created="20030114" mgmt:modified="20030114">
<mgmt:source>Product Connect</ mgmt:source >
<cm:label>Y</cm:label>
<cm:description>With aftercooler</cm:description>
</cm:conditionvalue>
</cm:condition>
</cm:conditions>
Namespaces
| Namespace | Prefix | Description |
|---|
urn:trisoft.be:InfoShare:ConditionManagement:1.0 | Within this document this namespace will always be referred to with the namespace prefix cm: | This namespace contains the basic elements and attributes for condition management. |
urn:trisoft.be:InfoShare:ConditionManagement:Management:1.0 | Within this document this namespace will always be referred to with the namespace prefix mgmt: | This namespace contains the elements and attributes of condition management that are used to track modifications. The elements and attributes are only used in the ConditionList XML that stores all condition names and values within InfoShare. Most of them are by consequence maintained automatically by the update mechanism of the InfoShare ConditionList. |
XML Description
| XML | Description |
|---|
cm:name | This attribute is defined as an identifier so it has to be unique throughout a condition list. On cm:condition it stores the name of the condition, on cm:conditionvalue it stores the name-value pair separated by a colon. If this is not the case an update of the InfoShare ConditionList will fail. |
cm:range | Indicates whether a condition is a range. Please note that when cm:range is set to Y, no condition values can be specified. |
cm:datatype | The datatype of a condition is only relevant if the condition is specified as a range. |
mgmt:author | This mgmt:author attribute contains the name of the user that last modified the condition name / condition value |
mgmt:source | This is the only element in the mgmt:-namespace that has to be managed explicitly. It contains the name of the external system that originally created the condition name / condition value. (e.g. ProductConnect / InfoShare) |