[xsd-users] Excluding Schema Elements For the XSD Compiler (C++/Tree) To Ignore

Alan Amano aamano1 at msn.com
Wed Aug 26 11:52:41 EDT 2009


With C++/Tree, are there any ways to exclude certain simple/complex type elements so that the XSD compiler will ignore generating code for those types?  I have a very large schema file and it’s generating C++ source and header files that are huge, resulting in lengthy C++ compile/link times downstream.  The schema file is a “baseline” and is shared among multiple users and I am only using a fraction of the type definitions in the schema file.  Obviously, I can extract only those types I’m using into a separate schema file, but I’d rather not do this and risk getting out of sync from the baseline.  Unless I'm missing something, there weren’t any obvious XSD compiler options that I can see to accomplish this, so if you can recommend any methods or options to exclude types from the XSD compiler, I would appreciate it.  


More information about the xsd-users mailing list