Comparison

If comparison is ommited Parent.LeftExpression.Formula is empty,
Me.Value='Is' and the right expression must also be omitted and be equal to
'true'

If comparison is ommited Parent.LeftExpression.Formula is empty,
Me.Valuen='Is' and the right expression musht also be omitted and be equal to
'true'

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
Is ConditionIsType optional
Used to complement Me;Value = Is
Not xs:boolean optional
To express Left expression NOT Equal/Is/Like Right expression. NOT
GE is also possible, but use LT instead. It is easier to understand To negate a
bunch of conditions, group in a collection and use the exclude attribute. To
negate a unique condition, use the exclude attribute on the
condition.
Value ComparisonCodeType required
Comparison between the left and right expression. If both
expression are not compatible (such as like between numbers), an error will occur.
This is business logic validation, not xsd.

Used By

Complex Type ConditionType

Source

<xs:element name="Comparison">
  <xs:annotation>
    <xs:documentation>If comparison is ommited Parent.LeftExpression.Formula is empty, Me.Value='Is' and the right expression must also be omitted and be equal to 'true'</xs:documentation>
    <xs:documentation>If comparison is ommited Parent.LeftExpression.Formula is empty, Me.Valuen='Is' and the right expression musht also be omitted and be equal to 'true'</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:attribute name="Not" type="xs:boolean" use="optional">
      <xs:annotation>
        <xs:documentation>To express Left expression NOT Equal/Is/Like Right expression. NOT GE is also possible, but use LT instead. It is easier to understand To negate a bunch of conditions, group in a collection and use the exclude attribute. To negate a unique condition, use the exclude attribute on the condition.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Value" type="ComparisonCodeType" use="required">
      <xs:annotation>
        <xs:documentation>Comparison between the left and right expression. If both expression are not compatible (such as like between numbers), an error will occur. This is business logic validation, not xsd.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Is" type="ConditionIsType" use="optional">
      <xs:annotation>
        <xs:documentation>Used to complement Me;Value = Is</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample