About how conditional processing attributes are defined
Since conditional processing attribute values can be defined in several places, it is important to understand how IXIASOFT CCMS resolves conflicts between these values.
- as a subject scheme map
- in a configuration file (by the Administrator)
- as a configuration option in the XML editor's Preferences
A subject scheme allows you to create a custom set of conditional processing attribute values without having to create a DITA specialization for the attribute. In the subject scheme map you define a controlled list of values and bind them to an existing conditional processing attribute. The subject scheme map can then be added to a ditamap, which then controls what conditional processing attribute values are available and displayed for that ditamap and its child objects while the ditamap is displayed in the DITA Map view.
If you have a collection of common conditional processing attribute values that should be globally available to all writers in the deployment, the Administrator can define them in a configuration file. By having them in a configuration file, all the writers connected to the same Content Store will automatically have access to the same values for that conditional processing attribute.
Although you can define conditional processing attribute values in the XML editor's Preferences dialog box, they are overwritten by the configuration file. If you require new conditional processing attribute values not currently available in the dialog boxes, contact the Administrator to have them added to the configuration file or, if appropriate, create a subject scheme.
- If a ditamap open in the DITA Map view contains a subject scheme map, then only the values defined in the subject scheme are displayed. The CCMS discards any values for any conditional processing attributes in the configuration file.
- If a ditamap open in the DITA Map view contains a subject scheme map (for example, subjectScheme A) and also contains a submap which itself contains a subject scheme map (for example, subjectScheme B), then the values for the attributes from the subject scheme map highest in the map hierarchy (in this case, subjectScheme A) are displayed. The CCMS discards the values for any conditional processing attributes defined in the XML editor, in the configuration file, or in any other subject scheme maps referenced in submaps.
- If values for an attribute have been configured in the configuration file and the ditamap open in the DITA Map view does not contain a subject scheme map, then the values in the configuration file are displayed. The CCMS discards any conditional processing attributes defined in the XML editor.
The following table illustrates how the CCMS determines which values prevail when the conditional processing attribute values are defined in multiple places. The X indicates where conditional processing attribute values are defined.
Subject scheme (in parent map) | Subject scheme (in submap) | Configuration file | Valid values |
---|---|---|---|
X | X | X | Obtained from subject scheme (in parent map) |
X | X | Obtained from subject scheme (in submap) | |
X | Obtained from a configuration file |