element a
diagram girr_ns_p24.png
namespace http://www.w3.org/1999/xhtml
type extension of a.content
properties
content complex
mixed true
children br span bdo map object img tt i b big small em strong dfn code q samp kbd var cite abbr acronym sub sup input select textarea label button ins del script
used by
complexType pre.content
group inline
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      
charsetCharset      
typeContentType      
namexs:NMTOKEN      
hrefURI      
hreflangLanguageCode      
relLinkTypes      
revLinkTypes      
shapeShape  rect    
coordsCoords      
annotation
documentation

      content is "Inline" except that anchors shouldn't be nested
     
source <xs:element name="a">
 
<xs:annotation>
   
<xs:documentation>
      content is "Inline" except that anchors shouldn't be nested
     
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType mixed="true">
   
<xs:complexContent mixed="true">
     
<xs:extension base="a.content">
       
<xs:attributeGroup ref="attrs"/>
       
<xs:attributeGroup ref="focus"/>
       
<xs:attribute name="charset" type="Charset"/>
       
<xs:attribute name="type" type="ContentType"/>
       
<xs:attribute name="name" type="xs:NMTOKEN"/>
       
<xs:attribute name="href" type="URI"/>
       
<xs:attribute name="hreflang" type="LanguageCode"/>
       
<xs:attribute name="rel" type="LinkTypes"/>
       
<xs:attribute name="rev" type="LinkTypes"/>
       
<xs:attribute name="shape" type="Shape" default="rect"/>
       
<xs:attribute name="coords" type="Coords"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute a/@charset
type Charset
properties
isRef 0
source <xs:attribute name="charset" type="Charset"/>

attribute a/@type
type ContentType
properties
isRef 0
source <xs:attribute name="type" type="ContentType"/>

attribute a/@name
type xs:NMTOKEN
properties
isRef 0
source <xs:attribute name="name" type="xs:NMTOKEN"/>

attribute a/@href
type URI
properties
isRef 0
source <xs:attribute name="href" type="URI"/>

attribute a/@hreflang
type LanguageCode
properties
isRef 0
source <xs:attribute name="hreflang" type="LanguageCode"/>

attribute a/@rel
type LinkTypes
properties
isRef 0
source <xs:attribute name="rel" type="LinkTypes"/>

attribute a/@rev
type LinkTypes
properties
isRef 0
source <xs:attribute name="rev" type="LinkTypes"/>

attribute a/@shape
type Shape
properties
isRef 0
default rect
facets
Kind Value annotation 
enumeration rect 
enumeration circle 
enumeration poly 
enumeration default 
source <xs:attribute name="shape" type="Shape" default="rect"/>

attribute a/@coords
type Coords
properties
isRef 0
facets
Kind Value annotation 
pattern [-+]?(\d+|\d+(\.\d+)?%)(,\s*[-+]?(\d+|\d+(\.\d+)?%))* 
source <xs:attribute name="coords" type="Coords"/>


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