113 <xsd:attribute use="optional" name="description" type="xsd:string" default="" /> |
113 <xsd:attribute use="optional" name="description" type="xsd:string" default="" /> |
114 </xsd:extension> |
114 </xsd:extension> |
115 </xsd:simpleContent> |
115 </xsd:simpleContent> |
116 </xsd:complexType> |
116 </xsd:complexType> |
117 |
117 |
118 <!--Condition represents an input that depends on other inputs. The child elements defines a |
118 <!--Condition represents an input that depends on other inputs. The child elements defines a |
119 boolean expression with test as leaf nodes. If the expression evaluates to true the input returns |
119 boolean expression with test as leaf nodes. If the expression evaluates to true, the value |
120 "true" and if it's false "false". It's possible to override this behavior by setting the attributes |
120 in the true attribute is used. If it evaluates to false, the value in the false attribute is used. |
121 true and false to the values that should be returned. --> |
121 If true or false is omitted, the evaluation of the expression will be ignored. --> |
122 <xsd:complexType name="conditionType"> |
122 <xsd:complexType name="conditionType"> |
123 <xsd:choice> |
123 <xsd:choice> |
124 <xsd:element name="test" type="testType" /> |
124 <xsd:element name="test" type="testType" /> |
125 <xsd:element name="and" type="andType" /> |
125 <xsd:element name="and" type="andType" /> |
126 <xsd:element name="not" type="notType" /> |
126 <xsd:element name="not" type="notType" /> |
127 <xsd:element name="or" type="orType" /> |
127 <xsd:element name="or" type="orType" /> |
128 </xsd:choice> |
128 </xsd:choice> |
129 <xsd:attribute use="required" name="name" type="xsd:string" /> |
129 <xsd:attribute use="required" name="name" type="xsd:string" /> |
130 <xsd:attribute default="true" name="true" type="xsd:string" /> |
130 <xsd:attribute name="true" type="xsd:string" /> |
131 <xsd:attribute default="false" name="false" type="xsd:string" /> |
131 <xsd:attribute name="false" type="xsd:string" /> |
132 </xsd:complexType> |
132 </xsd:complexType> |
133 |
133 |
134 <xsd:complexType name="orType"> |
134 <xsd:complexType name="orType"> |
135 <xsd:sequence minOccurs="2" maxOccurs="unbounded"> |
135 <xsd:sequence minOccurs="2" maxOccurs="unbounded"> |
136 <xsd:choice> |
136 <xsd:choice> |