<xs:attribute name="value" type="xs:string" />
<xs:attribute name="pattern" type="xs:string"/>
<xs:attribute name="counter" type="xs:string"/>
+ <xs:attribute name="comp_list" type="xs:string"/>
+
<!-- déclaration des groupes d'éléments -->
<xs:attribute ref="use" />
</xs:complexType>
</xs:element>
-
- <xs:element name="architecture" type="xs:string" />
+
+ <xs:element name="architecture">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute ref="comp_list" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
<xs:element name="patterns">
<xs:complexType>
<xs:sequence>
<xs:element ref="output" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
+ <xs:attribute ref="counter" />
</xs:complexType>
</xs:element>
<xs:complexType>
<xs:attribute ref="name" />
<xs:attribute ref="pattern" />
- <xs:attribute ref="counter" />
</xs:complexType>
</xs:element>