X is an annotator that can be used to match based on an XPath test expression.
The test will be executed against each XML DOM node. If the test is positive, that particular DOM node will be annotated.
The XPath 1.0 expression that will be used to test against each XML DOM node.
If the test does not return a Boolean result type, we will apply the
Note that the editor is configured with the
chunk configuration properties, which sends the document in chunks to Fonto Content Quality.
You will only be able to use an XPath expression within the context of each individual chunk, thus not the complete document.
If you use attributes in your XPath test expression, make sure the editor is rechecking the content if that attribute changes by configuring the semanticAttributes configuration property.
If annotating PI's (processing instructions), make sure they have a form of visualization in the document so FCQ is able to highlight that particular node.
In the following example the
x is configured to annotate all
<p> elements which have their
class attribute set to
<xpathAnnotator annotationTypeId="introduction" test="self::p[@class='intro']" />