[xsd-users] Parsing Question

Boris Kolpackov boris at codesynthesis.com
Tue Jul 22 09:53:44 EDT 2008


Hi Bryan,

Bryan Wilcox <azbwilcox at yahoo.com> writes:

> Is it possible to pass in some object or configuration to force the 
> parser to use a locally defined schema object instead of attempting 
> to access the schema at the Internet path provided in the instance 
> document?

Yes, you can use the schema_location and no_namespace_schema_location
properties as shown in Section 5.1, "XML Schema Validation and Searching"
in the C++/Tree Mapping Getting Started Guide:

http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/guide/#5.1

Boris




More information about the xsd-users mailing list