Thanks so much! That seems to have done it. Wade
On Mon, Jan 18, 2010 at 10:54 AM, Boris Kolpackov <[email protected]>wrote: > Hi, > > Vitaly Prapirny <[email protected]> writes: > > > Wade Smith wrote: > > > do you have an example of how to call the setExternalSchemaLocation? > > >I have not been able to get this working. > > > > _parser->setExternalSchemaLocation( > > "http://www.example.com file_name.xsd") > > The thing with setExternalSchemaLocation is that the schema path will be > resolved relative to the XML file being parsed unless it is an absolute > URI (in the file:/// form in case of a filesystem path). This page has > some more information: > > http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/guide/#5.1 > > Boris > > -- > Boris Kolpackov, Code Synthesis > http://codesynthesis.com/~boris/blog > Open-source <http://codesynthesis.com/%7Eboris/blog%0AOpen-source> XML > data binding for C++ http://codesynthesis.com/products/xsd > XML data binding for embedded systems > http://codesynthesis.com/products/xsde > Command line interface to C++ compiler > http://codesynthesis.com/projects/cli >
