@Override
    public ComparisonResult evaluate(Comparison comparison, ComparisonResult comparisonResult) {
        if (comparisonResult != ComparisonResult.EQUAL) {
            Node target = comparison.getControlDetails().getTarget();

            // root element
            if (target == null || target.getParentNode() == null) {
                return comparisonResult;
            }

            // verify parent element - help with text nodes
            NamedNodeMap attributes = target.getParentNode().getAttributes();
            if (attributes != null) {
                Node attribute = attributes.getNamedItem(SkipAttributeFilter.IGNORE_ATTRIBUTE_NAME);
                if (attribute != null) {
                    String content = attribute.getTextContent();
                    return Boolean.parseBoolean(content.trim()) ? ComparisonResult.EQUAL : comparisonResult;
                }
            }
        }

        return comparisonResult;
    }
Evaluator of differences which allows to ignore differences for elements annotated with 'plc4x-skip-comparison' attribute.
plc4j/utils/test-utils/src/main/java/org/apache/plc4x/test/driver/xmlunit/SkipDifferenceEvaluator.java