Thank you will check it out regards, badari
On Tue, Apr 14, 2020 at 10:50 PM Lara Blatchford < lara.blatchf...@nteligen.com> wrote: > Hi Badari - take a look at the setExternalSchemaLocation method in > AbstractDOMParser and XercesDOMParser. Pass it a space-delimited list of > schema files to use. > > > https://xerces.apache.org/xerces-c/apiDocs-3/classAbstractDOMParser.html#a0562520a59045e3160eb361098b9a160 > > Lara > > -----Original Message----- > From: Badari Prasad <badari...@gmail.com> > Sent: Tuesday, April 14, 2020 1:11 PM > To: c-users@xerces.apache.org > Subject: Require info on validating XML using 2 xsd. > > Hi All, > Came across Xerces today, a very nice project in deed. I will be using > xerces for my module. I have been looking for some sample code for > validating an XML with 2 XSD, 1 XSD is schema for message types and another > is kind of common xsd which mentions the format, for example format of > email, name etc ... is mentioned in 2nd xsd. I could not figure out how to > validate using 2 xsd. I was thinking of merging both XSD into a single XSD > file for validating an XML. > > Please let me know if we have another way instead of merging the XSD files. > > > Thanks > badari >
