Я хочу знать правильный синтаксис для определения элемента, содержащего как атрибуты, так и дочерние элементы (если возможно). Например:
<component type="A" binding="B">
<operation name="X">
<input type="C" />
</operation>
<event name="Y">
<output type="D" />
</event>
</component>
Как вы можете видеть, оба элемента, компонента и события имеют как атрибуты, так и дочерний элемент. Можно ли это определить в XSD? Как?
Большое спасибо!