Page 1 of 1

Validate part of XML file

Posted: Mon Jun 17, 2024 6:49 am
by quadricepsshow
I have a few XML files that need to be validated and I only have a XSD for the core element of the files. The files also have a header section that wraps the core element.
Is there a way to create a validation scenario that ignores the header and only validates the core element, maybe using XPath?

Re: Validate part of XML file

Posted: Mon Jun 17, 2024 9:07 am
by tavy
Hello,

Unfortunately we do not have support to validate just a part of the file. You need to create an XSD file that ignores the header element and validates the core element.

Best Regards,
Octavian