These might
work:
1) Put an
<include> in file1.xsd that points to file2.xsd, then kick off the
generator for file1.xsd.
2) Invoke
Sourcegenerator once for each .xsd file.
--Erik
-----Original Message-----
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 3:29 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] srcGen.generateSource with mulitple xsd'sHelloI have this simple test (see below):QBOqbxml20.xsd also needs qbxmltypes.xsdI am wondering how to add two xsd files.Thanks=========================================================================================import org.exolab.castor.builder.SourceGenerator;public class CastorTest {public static void main(String[] args){
SourceGenerator srcGen = new SourceGenerator();
try{
srcGen.generateSource("C:/MEMBERCLICKS/QuickBooks/sdk/tools/validator/QBOqbxml20.xsd", "src/bindtest");
}catch(Exception ex){
ex.printStackTrace();
}
}
}=========================================================================================
