QName | Type | Fixed | Default | Use | Inheritable | Annotation |
---|---|---|---|---|---|---|
comparator | restriction of string | required | ||||
id | ID | optional | ||||
value | string | required | ||||
var | string | required |
Complex Type | profile:ruleType |
Element | testRule:rule |
<complexType name="rulePrototype"> <attribute name="id" type="ID" use="optional"/> <attribute name="var" type="string" use="required"/> <attribute name="value" type="string" use="required"/> <attribute name="comparator" use="required"> <simpleType> <restriction base="string"> <enumeration value="eq"/> <enumeration value="ne"/> <enumeration value="gt"/> <enumeration value="gte"/> <enumeration value="lt"/> <enumeration value="lte"/> </restriction> </simpleType> </attribute> </complexType> |