2.2.3.1.1 ad:control

The required element ad:control MUST be the child element of the ad:controls (section 2.2.3.1) element. The ad:control element might have a value (see section 2.2.3.1.2 for the ad:controlValue element).

The XML Schema [XMLSCHEMA1] definition of the control element is as follows.

 <xsd:element name="control">
     <xsd:complexType>
         <xsd:sequence>
             <xsd:element ref="ad:controlValue"
                          minOccurs="0" maxOccurs="1" />
         </xsd:sequence>
     <xsd:attribute name="type" use="required" type= "xsd:string" />
     <xsd:attribute name="criticality" use="required" type= "xsd:boolean" />
      </xsd:complexType>
  </xsd:element>

For example, the following XML shows the contents of the control element.

 <ad:control  type="OID as xsi:string" criticality=(true|false)> 
 <ad:controlValue xsi:type="xsd:base64Binary">
        [base-64 encoded value]
 </ad:controlValue>
 </ad:control>

For the value of attributes "type" and "criticality", see sections 2.2.6.2 and 2.2.6.1, respectively.