ProductDefinition
In order to do conditional publishing a context that contains a product definition needs to be supplied. This product definition contains the features of the product for which the publication must be made. All conditions found in the objects are evaluated against this product definition using the Condition Filter component.
XML structure
<!ELEMENT features (feature)*>
<!ELEMENT feature EMPTY>
<!ATTLIST feature
name CDATA #REQUIRED
value CDATA #REQUIRED
>
Example
<features>
<feature name="productserie" value="45CF"/>
<feature name="productserie" value="45XF"/>
<feature name="manufacturing date" value="20020613"/>
<feature name="airco" value="1"/>
</features>
Remarks
- A
featureelement with the same name can be specified multiple times (see theproductseriefeature in the example above). - A
featureelement for which no value is specified are not taken into account - A
featureelement having an empty value is different from having no condition value