button (2)

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

Parent Elements


Child Elements



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:element ref="xsf:ruleSetAction" minOccurs="0" maxOccurs="1"/>
     <xsd:attribute name="name" use="required">
         <!-- 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:keyref name="button_ruleSetAction" refer="xsf:ruleset_name_key">
     <xsd:selector xpath="./xsf:ruleSetAction"/>
     <xsd:field xpath="@ruleSet"/>