Documentation Center

ContextEnrichment

A publication context can be extended with the information stored in another publication context.

XML Structure

<!ELEMENT contextenrichment (features,context)>
<!ELEMENT features (feature)*>
<!ELEMENT feature EMPTY>
<!ATTLIST feature
    name CDATA #REQUIRED
    value CDATA #REQUIRED
>
<!ELEMENT context EMPTY>
<!ATTLIST context
    name CDATA #REQUIRED
>

The name attribute of the context element expects the identifier of a publication context as stored inside Content Manager

Example

<contextenrichment>
  <features>
	  <feature name="productserie" value="45CF"/>
  	  <feature name="productserie" value="45XF"/>
	  <feature name="manufacturing date" value="20020613"/>
	  <feature name="airco" value="1"/>
  </features>
  <context name="IS_CTXSYS_REGIONALUKENGLISH"/>
<contextenrichment>