CalculateType

Complex Type Information

Model

Children: value

Attributes

QName Type Fixed Default Use Inheritable Annotation
createNode restriction of xs:string optional
enabled xs:boolean true optional
id xs:ID optional
target XPathExpression required
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.xrules.org/2003/11'

Used By

Source

<xs:complexType name="CalculateType">
  <xs:sequence>
    <xs:element name="value" minOccurs="1" maxOccurs="unbounded">
      <xs:complexType>
        <xs:simpleContent>
          <xs:extension base="xr:XPathExpression">
            <xs:attribute name="when" type="xr:XPathExpression" use="optional"/>
          </xs:extension>
        </xs:simpleContent>
      </xs:complexType>
    </xs:element>
    <!-- TODO: Implement this.
			<xs:element name="errorMessage" type="xr:stringWithEmbededXPath" minOccurs="1" maxOccurs="unbounded" />
			-->
  </xs:sequence>
  <xs:attribute name="id" type="xs:ID" use="optional"/>
  <xs:attribute name="target" type="xr:XPathExpression" use="required"/>
  <xs:attribute name="createNode" use="optional">
    <xs:simpleType>
      <xs:restriction base="xs:string">
        <xs:enumeration value="first"/>
        <xs:enumeration value="last"/>
        <xs:enumeration value="never"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:attribute>
  <xs:attribute name="enabled" type="xs:boolean" use="optional" default="true"/>
  <xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>