Validate part of XML file

Questions about XML that are not covered by the other forums should go here.
quadricepsshow
Posts: 1
Joined: Mon Jun 17, 2024 6:46 am
Contact:

Validate part of XML file

Post 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?
tavy
Posts: 388
Joined: Thu Jul 01, 2004 12:29 pm

Re: Validate part of XML file

Post 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
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply