This advanced validation workflow component, Rule-based validation report to XML attachment, can be executed after a rule-based XML validation. If called it will copy the validation report into an XML attachment, which can be emailed. This XML attachment is named Failed_validation.xml.
The component has no parameters.
A suggestion for implementation can be found here.