Remove Text Annotations Intersecting Xml Elements
The Remove
analytic is a filter that removes text annotations based on their type identifier.
Configuration
Attribute |
Description |
Required |
Default |
---|---|---|---|
|
A list of elements that have to be removed. Use prefixes if the element is declared within a namespace. |
Yes |
N/A |
Example configuration
The following example shows the filter configured for removing all annotations that overlap with the <a/>
element in the null namespace.
XML
<removeTextAnnotationsIntersectingXmlElements elements="a"/>
You can use prefixes in the elements attribute by declaring a namespace in the ancestry of the element using the prefix. The empty prefix is always bound to the null namespace.
XML
<removeTextAnnotationsIntersectingXmlElements xmlns:ns="http://example.com/ns" elements="ns:b"/>