9.3.2.4.4 rulename.match
Specifies an XPath expression used to determine whether the rule is activated for a particular document or not.
rulename.match=xpath_expression
If the XPath expression returns any nodes from the document, the rule matches and further processing occurs. If it does not return any nodes, the rule is ignored for that document.
The following example activates the dyntxrule
if the document has a root element of Transaction
dyntxrule.match=/Transaction
Where statoprule
is a sub rule of stattxtule
, the following example activates the statoprule
if the parent rule's matching nodes have child elements of NewMyTableEntry.
statoprule.match=./NewMyTableEntry
Parent topic: XML Parser Properties