Title: Message
Just a quick note: one item on my to-do list is to generate automatically the sources for schemas specified in <include> or <import>.
This feature will be available via the binding file.

Arnaud
-----Original Message-----
From: Ostermueller, Erik [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 10:53 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] srcGen.generateSource with mulitple xsd's

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's

Hello
I have this simple test (see below):
QBOqbxml20.xsd also needs qbxmltypes.xsd
I 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();
          }
    }
}
=========================================================================================

Reply via email to