【发布时间】:2023-03-23 07:30:01
【问题描述】:
我想知道定义包含属性和子元素的元素的正确语法(如果可能的话)。例如:
<component type="A" binding="B">
<operation name="X">
<input type="C" />
</operation>
<event name="Y">
<output type="D" />
</event>
</component>
如您所见,组件、操作和事件都具有属性和子元素。是否可以在 XSD 中定义它?怎么样?
非常感谢!
【问题讨论】:
标签: attributes xsd