我想知道定义包含属性和子元素的元素的正确语法(如果可能).例如:
<component type="A" binding="B">
<operation name="X">
<input type="C" />
</operation>
<event name="Y">
<output type="D" />
</event>
</component>
Run Code Online (Sandbox Code Playgroud)
如您所见,元素组件,操作和事件都具有属性和子元素.是否可以在XSD中定义它?怎么样?
非常感谢你!