element button
diagram girr_ns_p36.png
namespace http://www.w3.org/1999/xhtml
type extension of button.content
properties
content complex
mixed true
children p h1 h2 h3 h4 h5 h6 div ul ol dl pre hr blockquote address table br span bdo map object img tt i b big small em strong dfn code q samp kbd var cite abbr acronym sub sup noscript ins del script
used by
group inline.forms
attributes
Name  Type  Use  Default  Fixed  annotation
idxs:ID      
classxs:NMTOKENS      
styleStyleSheet      
titleText      
langLanguageCode      
lang      
documentation
<div>
<h3>lang (as an attribute name)</h3>
<p>
       denotes an attribute whose value
       is a language code for the natural language of the content of
       any element; its value is inherited.  This name is reserved
       by virtue of its definition in the XML specification.</p>
</div>
<div>
<h4>Notes</h4>
<p>
      Attempting to install the relevant ISO 2- and 3-letter
      codes as the enumerated possible values is probably never
      going to be a realistic possibility. 
     </p>
<p>
      See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
       http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
      and the IANA language subtag registry at
      <a href="http://www.iana.org/assignments/language-subtag-registry">
       http://www.iana.org/assignments/language-subtag-registry</a>
      for further information.
     </p>
<p>
      The union allows for the 'un-declaration' of xml:lang with
      the empty string.
     </p>
</div>
dirderived by: xs:token      
onclickScript      
ondblclickScript      
onmousedownScript      
onmouseupScript      
onmouseoverScript      
onmousemoveScript      
onmouseoutScript      
onkeypressScript      
onkeydownScript      
onkeyupScript      
accesskeyCharacter      
tabindextabindexNumber      
onfocusScript      
onblurScript      
name      
value      
typederived by: xs:token  submit    
disabledderived by: xs:token      
annotation
documentation

      Content is "Flow" excluding a, form and form controls
     
source <xs:element name="button">
 
<xs:annotation>
   
<xs:documentation>
      Content is "Flow" excluding a, form and form controls
     
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType mixed="true">
   
<xs:complexContent mixed="true">
     
<xs:extension base="button.content">
       
<xs:attributeGroup ref="attrs"/>
       
<xs:attributeGroup ref="focus"/>
       
<xs:attribute name="name"/>
       
<xs:attribute name="value"/>
       
<xs:attribute name="type" default="submit">
         
<xs:simpleType>
           
<xs:restriction base="xs:token">
             
<xs:enumeration value="button"/>
             
<xs:enumeration value="submit"/>
             
<xs:enumeration value="reset"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="disabled">
         
<xs:simpleType>
           
<xs:restriction base="xs:token">
             
<xs:enumeration value="disabled"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute button/@name
properties
isRef 0
source <xs:attribute name="name"/>

attribute button/@value
properties
isRef 0
source <xs:attribute name="value"/>

attribute button/@type
type restriction of xs:token
properties
isRef 0
default submit
facets
Kind Value annotation 
enumeration button 
enumeration submit 
enumeration reset 
source <xs:attribute name="type" default="submit">
 
<xs:simpleType>
   
<xs:restriction base="xs:token">
     
<xs:enumeration value="button"/>
     
<xs:enumeration value="submit"/>
     
<xs:enumeration value="reset"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute button/@disabled
type restriction of xs:token
properties
isRef 0
facets
Kind Value annotation 
enumeration disabled 
source <xs:attribute name="disabled">
 
<xs:simpleType>
   
<xs:restriction base="xs:token">
     
<xs:enumeration value="disabled"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy