function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tim__mTim__m 

Validate XML with XSD

I think I already know the answer to my question, (answer=no), but I'm going to put it out here anyway. Can I validate xml with my xsd in apex? I have an email service that takes in an xml file and I would like to validate the xml using my xsd before I process the inbound email. I know I could just write apex code and use the new dom to read the xml but I would like to avoid writing apex code that checks the schema. The schema can change now and again requiring updates to the xsd. I would like to avoid updating apex code in addition to the xsd. Its a maintenance thing.
Message Edited by Tim__m on 03-24-2010 06:01 AM