We do have more than one xsd, currently two teams are working on two different xsd along with one common xsd. If we generate separate class file for each xsd then the common xsd object types are duplicated. If we use all xsd in one command line it generate into one class file. We want separate class file for each xsd so that each team can manage separately and the future changes also can be tracked which team made the change.
我们有不止一个xsd,目前有两个团队在使用两个不同的xsd和一个公共xsd。如果我们为每个xsd生成单独的类文件,那么常见的xsd对象类型就会被复制。如果我们在一个命令行中使用所有xsd,它将生成一个类文件。我们希望每个xsd都有单独的类文件,这样每个团队都可以单独管理,并且将来的变更也可以跟踪到哪个团队做出了更改。
Is it possible to create each class file for each xsd passed in the xsd.exe command line when multiple xsd’s are passed?
是否可能为xsd中传递的每个xsd创建每个类文件。传递多个xsd时的exe命令行?
Thanks,
谢谢,
Zahir
查希尔
1 个解决方案
#1
0
No, sorry, that's not possible.
不,对不起,这是不可能的。
Remember that the generated class file is an output . I don't know what sort of management that would require. It is the XSD files which are the input to the process, and which should be managed.
记住,生成的类文件是一个输出。我不知道需要什么样的管理。XSD文件是流程的输入,应该对其进行管理。
#1
0
No, sorry, that's not possible.
不,对不起,这是不可能的。
Remember that the generated class file is an output . I don't know what sort of management that would require. It is the XSD files which are the input to the process, and which should be managed.
记住,生成的类文件是一个输出。我不知道需要什么样的管理。XSD文件是流程的输入,应该对其进行管理。