<xsd:element name="Loop">
<xsd:annotation>
<xsd:documentation>BPMN (and possibly XPDL)</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:choice>
<xsd:element ref="xpdl:LoopStandard"/>
<xsd:element ref="xpdl:LoopMultiInstance"/>
</xsd:choice>
<xsd:attribute name="LoopType" use="required">
<xsd:simpleType>
<xsd:restriction base="xsd:NMTOKEN">
<xsd:enumeration value="Standard"/>
<xsd:enumeration value="MultiInstance"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:anyAttribute namespace="##other" processContents="lax"/>
</xsd:complexType>
</xsd:element> |