我正在尝试从xml文件创建一个类文件,但是xsd抱怨说“不能在包含simplecontent列的表中添加嵌套关系或元素列”,这里是示例xml。我的实际xml文件很长,超过30MB,我无法手动编辑节点,想知道是否有替代解决方案?
<SpeedLineMenu>
<Children>
<ValueMealTreeRoot>
<Name Type="String">Value Meals</Name>
<SequenceID Type="Integer">0</SequenceID>
<IsActive Type="Boolean">true</IsActive>
<Children>
<Group>
<Name Type="String">Lunch Specials</Name>
<SequenceID Type="Integer">3872</SequenceID>
<IsActive Type="Boolean">true</IsActive>
<Caption Type="String">Lunch Specials</Caption>
<Children>
<ValueMeal></ValueMeal>
</Children>
</Group>
</Children>
</ValueMealTreeRoot>
</Children>
</SpeedLineMenu>