Thank you will check it out regards, badari
On Tue, Apr 14, 2020 at 10:53 PM Erik Sjölund <[email protected]> wrote: > There are example programs available here: > SAX version: > https://codesynthesis.com/~boris/data/load-grammar/load-grammar-sax.cxx > > DOM version: > http://codesynthesis.com/~boris/data/load-grammar/load-grammar-dom.cxx > > Read more about it in this blog post by Boris Kolpackov > > https://codesynthesis.com/~boris/blog/2010/03/15/validating-external-schemas-xerces-cxx/ > > I tried to summarize the different ways to validate XML with hardcoded XSD > here: > https://stackoverflow.com/a/52464355/757777 > > Kind regards, > Erik Sjölund > > On Tue, Apr 14, 2020 at 7:11 PM Badari Prasad <[email protected]> wrote: > > > > 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 >
