小编Ste*_*e83的帖子

具有属性和子元素的XSD元素

我想知道定义包含属性和子元素的元素的正确语法(如果可能).例如:

<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中定义它?怎么样?

非常感谢你!

attributes xsd

41
推荐指数
1
解决办法
6万
查看次数

标签 统计

attributes ×1

xsd ×1