Workflow+Schema

code format="xml" <? xml version="1.0"?> 

         

     </xs:complexType> </xs:element> <xs:element name="data_io" minOccurs="0" maxOccurs="unbound"> <xs:complexType> <xs:attribute name="id" type="xs:positiveInteger"/> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="type" type="iotypeType"/> </xs:complexType>

<xs:complexType name="semanticType"> <xs:sequence> <xs:element name="title" type="xs:string"/> <xs:element name="description" type="xs:string"/> </xs:sequence> <xs:attribute name="type"> <xs:attribute name="type_id"> </xs:complexType>

<xs:element name="CU_Semantics" minOccurs="0" maxOccurs="1"> <xs:complexType> <xs:sequence> <xs:element name="QualitySemantic" type="semanticType" minOccurs="0" maxOccurs="unbounded"> <xs:element name="TrustSemantic" type="semanticType" minOccurs="0" maxOccurs="unbounded"> <xs:element name="FeatureSemantic" type="semanticType" minOccurs="0" maxOccurs="unbounded"> </xs:sequence> </xs:complexType> </xs:element>

<xs:complexType name="CUType"> <xs:sequence> <xs:element ref="CU_Semantics"/> <xs:element name="CU_Connection" type="connectionType" minOccurs="0" maxOccurs="unbound" /> </xs:sequance> <xs:attribute name="id" type="xs:integer"> <xs:attribute name="name" type="xs:string"> </xs:complexType> <!~- end definiton of cu>

<xs:element name"Workflow"> <xs:element name="CU" type="CUType" minOccurs="0" maxOccurs="unbounded" /> </xs:element>

</xs:schema> code