DisambiguateAlternatives
Synopsis
Disambiguate features that have multiple values.
Description
DisambiguateAlternatives evaluates target as a list of elements with the current document as the context element. Then it tries to keep a single value for the feature ambiguousFeature in each item in the result. To achieve this, it keeps a set of unambiguous values found in the document. Unambiguous values are found in elements for which there is a single value for ambiguousFeature .
Snippet
<disambiguatealternatives class="DisambiguateAlternatives">
<ambiguousFeature></ambiguousFeature>
<target></target>
</disambiguatealternatives>
Mandatory parameters
ambiguousFeature
Mandatory
Type: String
Feature to disambiguate.
target
Mandatory
Type: Expression
Elements to disambiguate.
Optional parameters
documentFilter
Default value: `true`
Type: Expression
Only process document that satisfy this expression.
warnIfAmbiguous
Default value: `false`
Type: Boolean
Either to issue a warning if an element has still ambiguous values after processing.