Skip to content

update-masking-context

xml
    <update-masking-context>
        <set
            name="text literal"
            value="text literal"
            xpath_name="XPath evaluable to text"
            xpath_value="XPath evaluable to text"
        />
        <remove
            name="text literal"
            xpath_name="XPath evaluable to text"
        />
    </update-masking-context>

An operation that uses its children to manipulate the state of the current data masking context. If data masking is in use, custom masking properties (e.g., valuetype-set and rule-set) may be changed. Permitted changes include setting and removing custom properties.

The complete set of acceptable child elements is described here. Any other child element is considered an error.

This has no effect when data masking is not in use.

PropertyCountDescription
remove0..nDeclaration of one custom context property to be removed from the context.
remove/@name1..1Custom property identifier.
remove/@xpath_name0..1XPath evaluated to a custom property identifier.

Takes precedence over remove/@name and is required if that property is omitted or empty.
set0..nDeclaration of one custom context property to be set in the context.
set/@name1..1Custom property identifier.
set/@value1..1Custom property content.
set/@xpath_name0..1XPath evaluated to a custom property identifier.

Takes precedence over set/@name and is required if that property is omitted or empty.
set/@xpath_value0..1XPath evaluated to a custom property value.

Takes precedence over set/@value and is required if that property is omitted or empty.

Released under the Apache-2.0 License.