<xs:attribute ref="to" />
</xs:attributeGroup>
+ <xs:attributeGroup name="modifierAttrGroup">
+ <xs:attribute ref="id" />
+ <xs:attribute ref="type" />
+ <xs:attribute ref="params" />
+ </xs:attributeGroup>
+
<!-- déclaration des attributs -->
<xs:attribute name="ref_md5" type="xs:string"/>
<xs:attribute name="context" type="xs:string"/>
<xs:attribute name="type" type="xs:string"/>
+ <xs:attribute name="params" type="xs:string"/>
+ <xs:attribute name="project_path" type="xs:string"/>
<!-- déclaration des groupes d'éléments -->
<xs:group name="rootElmtGroup">
<xs:sequence>
<xs:element ref="scenes"/>
- <xs:element ref="connections"/>
+ <xs:element ref="connections"/>
+ <xs:element ref="modifiers"/>
</xs:sequence>
</xs:group>
</xs:complexType>
</xs:element>
+ <xs:element name="modifiers">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="modifier" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="modifier">
+ <xs:complexType>
+ <xs:attributeGroup ref="modifierAttrGroup"/>
+ </xs:complexType>
+ </xs:element>
+
<!-- racine du document -->
<xs:element name="blast_project">
<xs:complexType>
<xs:group ref="rootElmtGroup"/>
+ <xs:attribute ref="project_path" />
</xs:complexType>
</xs:element>