This rule allows to define some homemade XML rules with help of an XPath expression.
Violations are created depending on the return value of the XPath expression. If the XPath expression returns:
Here is an example of an XPath expression to log a violation on each 'td' tag using the 'nowrap' deprecated attribute:
//td[@nowrap]