element link
diagram girr_ns_p68.png
namespace http://www.w3.org/1999/xhtml
properties
content complex
used by
group head.misc
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      
charsetCharset      
hrefURI      
hreflangLanguageCode      
typeContentType      
relLinkTypes      
revLinkTypes      
mediaMediaDesc      
annotation
documentation

      Relationship values can be used in principle:

      a) for document specific toolbars/menus when used
         with the link element in document head e.g.
           start, contents, previous, next, index, end, help
      b) to link to a separate style sheet (rel="stylesheet")
      c) to make a link to a script (rel="script")
      d) by stylesheets to control how collections of
         html nodes are rendered into printed documents
      e) to make a link to a printable version of this document
         e.g. a PostScript or PDF version (rel="alternate" media="print")
     
source <xs:element name="link">
 
<xs:annotation>
   
<xs:documentation>
      Relationship values can be used in principle:

      a) for document specific toolbars/menus when used
         with the link element in document head e.g.
           start, contents, previous, next, index, end, help
      b) to link to a separate style sheet (rel="stylesheet")
      c) to make a link to a script (rel="script")
      d) by stylesheets to control how collections of
         html nodes are rendered into printed documents
      e) to make a link to a printable version of this document
         e.g. a PostScript or PDF version (rel="alternate" media="print")
     
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:attributeGroup ref="attrs"/>
   
<xs:attribute name="charset" type="Charset"/>
   
<xs:attribute name="href" type="URI"/>
   
<xs:attribute name="hreflang" type="LanguageCode"/>
   
<xs:attribute name="type" type="ContentType"/>
   
<xs:attribute name="rel" type="LinkTypes"/>
   
<xs:attribute name="rev" type="LinkTypes"/>
   
<xs:attribute name="media" type="MediaDesc"/>
 
</xs:complexType>
</xs:element>

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

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

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

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

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

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

attribute link/@media
type MediaDesc
properties
isRef 0
facets
Kind Value annotation 
pattern [^,]+(,\s*[^,]+)* 
source <xs:attribute name="media" type="MediaDesc"/>


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