Activity › Forums › Salesforce® Discussions › Is there any way to validate XML against XSD file in Apex? Tagged: Salesforce Apex, Salesforce SOQL, Validation Rules, XML, XSD Salesforce® Discussions Is there any way to validate XML against XSD file in Apex? Posted by Himanshu on April 30, 2016 at 5:56 PM Any way to validate XML against XSD file in Apex? Gourav replied 9 years, 11 months ago 2 Members · 1 Reply Salesforce ApexSalesforce SOQLValidation RulesXMLXSD 1 Reply Gourav Member May 31, 2016 at 3:22 PM You have to try to write your own validator for XML validation with custom filters as per your need. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me