xforms:submission

submit info container.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
action xs:anyURI optional
bind xs:IDREF optional
cdata-section-elements xforms:QNameList optional
encoding xs:string optional
id xs:ID optional
includenamespaceprefixes list of union of(xsd:NCName, restriction of xsd:string) optional
indent xs:boolean optional
instance xs:IDREF optional
mediatype xs:string optional
method union of(xforms:QNameButNotNCNAME, restriction of xsd:string) required
omit-xml-declaration xs:boolean optional
ref xforms:XPathExpression optional
replace union of(xforms:QNameButNotNCNAME, restriction of xsd:string) all optional
separator restriction of xsd:string ; optional
standalone xs:boolean optional
version xs:NMTOKEN optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://www.w3.org/2002/xforms'

Used By

Element xforms:model

Source

<xsd:element name="submission">
  <xsd:annotation>
    <xsd:documentation>submit info container.</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType>
    <xsd:sequence minOccurs="0" maxOccurs="unbounded">
      <xsd:group ref="xforms:Action"/>
    </xsd:sequence>
    <xsd:attributeGroup ref="xforms:Common.Attributes"/>
    <xsd:attribute name="ref" type="xforms:XPathExpression" use="optional"/>
    <xsd:attribute name="bind" type="xsd:IDREF" use="optional"/>
    <xsd:attribute name="action" type="xsd:anyURI" use="optional"/>
    <xsd:attribute name="method" use="required">
      <xsd:simpleType>
        <xsd:union memberTypes="xforms:QNameButNotNCNAME">
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:enumeration value="post"/>
              <xsd:enumeration value="put"/>
              <xsd:enumeration value="get"/>
              <xsd:enumeration value="multipart-post"/>
              <xsd:enumeration value="form-data-post"/>
              <xsd:enumeration value="urlencoded-post"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:union>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="version" type="xsd:NMTOKEN" use="optional"/>
    <xsd:attribute name="indent" type="xsd:boolean" use="optional"/>
    <xsd:attribute name="mediatype" type="xsd:string" use="optional"/>
    <xsd:attribute name="encoding" type="xsd:string" use="optional"/>
    <xsd:attribute name="omit-xml-declaration" type="xsd:boolean" use="optional"/>
    <xsd:attribute name="standalone" type="xsd:boolean" use="optional"/>
    <xsd:attribute name="cdata-section-elements" type="xforms:QNameList" use="optional"/>
    <xsd:attribute name="replace" use="optional" default="all">
      <xsd:simpleType>
        <xsd:union memberTypes="xforms:QNameButNotNCNAME">
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:enumeration value="all"/>
              <xsd:enumeration value="instance"/>
              <xsd:enumeration value="none"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:union>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="instance" type="xsd:IDREF" use="optional"/>
    <xsd:attribute name="separator" use="optional" default=";">
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:enumeration value=";"/>
          <xsd:enumeration value="&"/>
        </xsd:restriction>
      </xsd:simpleType>
    </xsd:attribute>
    <xsd:attribute name="includenamespaceprefixes" use="optional">
      <xsd:simpleType>
        <xsd:list>
          <xsd:simpleType>
            <xsd:union>
              <xsd:simpleType>
                <xsd:restriction base="xsd:NCName"/>
              </xsd:simpleType>
              <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                  <xsd:enumeration value="#default"/>
                </xsd:restriction>
              </xsd:simpleType>
            </xsd:union>
          </xsd:simpleType>
        </xsd:list>
      </xsd:simpleType>
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>