Xml validation in payload inspection

can we use webhooks for xml format validation?