Search code examples
c++xmlxercesxerces-c

Caching XSD schema to reuse in several XML DOM parser tasks in Xerces


How can I cache an XSD schema (residing on disk) to be reused when parsing XMLs in Xerces (C++)?

I would like to load the XSD schema when starting the process, then, whenever I need to parse an XML, to validate it first using this loaded schema.


Solution

  • I think I found what I need here.