2.2.1.2.91 button (2)

The button element specifies a button that MAY have an associated event handler or ruleSetAction, as specified in section 2.2.1.2.113.

Parent Elements

unboundControls

Child Elements

ruleSetAction

Attributes:

name: This attribute specifies the event handler identifier of the button.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

 <xsd:element name="button" minOccurs="0" maxOccurs="unbounded">
   <xsd:complexType>
     <xsd:sequence>
       <xsd:element ref="xsf:ruleSetAction" minOccurs="0" maxOccurs="1"/>
     </xsd:sequence>
     <xsd:attribute name="name" use="required">
       <xsd:simpleType>
         <!-- type of name is non qualified name, but NCName also accepts '.' 
          and '-', so these characters are disabled by pattern restriction -->
         <xsd:restriction base="xsd:NCName">
           <xsd:pattern value="[^\.\^-]*"/>
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:attribute>
   </xsd:complexType>
   <xsd:keyref name="button_ruleSetAction" refer="xsf:ruleset_name_key">
     <xsd:selector xpath="./xsf:ruleSetAction"/>
     <xsd:field xpath="@ruleSet"/>
   </xsd:keyref>
 </xsd:element>