docbook:col

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
align restriction of xs:token optional
annotations optional
arch optional
audience optional
char optional
charoff optional
class optional
condition optional
conformance optional
dir restriction of xs:token optional
lang optional
onclick optional
ondblclick optional
onkeydown optional
onkeypress optional
onkeyup optional
onmousedown optional
onmousemove optional
onmouseout optional
onmouseover optional
onmouseup optional
os optional
remap optional
revision optional
revisionflag restriction of xs:token optional
security optional
span xs:NMTOKEN optional
style optional
title optional
userlevel optional
valign restriction of xs:token optional
vendor optional
version optional
width optional
wordsize optional
xml:base xs:anyURI optional
See http://www.w3.org/TR/xmlbase/ for
information about this attribute.
xml:id xs:ID optional
See http://www.w3.org/TR/xml-id/ for
information about this attribute.
xml:lang union of(xs:language, restriction of xs:string) optional
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.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.

         The union allows for the 'un-declaration' of xml:lang with
         the empty string.
xreflabel optional

Used By

Source

<xs:element name="col">
  <xs:complexType>
    <xs:attributeGroup ref="docbook:db.common.attributes"/>
    <xs:attribute name="class"/>
    <xs:attribute name="style"/>
    <xs:attribute name="title"/>
    <xs:attribute name="lang"/>
    <xs:attribute name="onclick"/>
    <xs:attribute name="ondblclick"/>
    <xs:attribute name="onmousedown"/>
    <xs:attribute name="onmouseup"/>
    <xs:attribute name="onmouseover"/>
    <xs:attribute name="onmousemove"/>
    <xs:attribute name="onmouseout"/>
    <xs:attribute name="onkeypress"/>
    <xs:attribute name="onkeydown"/>
    <xs:attribute name="onkeyup"/>
    <xs:attribute name="span" type="xs:NMTOKEN"/>
    <xs:attribute name="width"/>
    <xs:attribute name="align">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="left"/>
          <xs:enumeration value="center"/>
          <xs:enumeration value="right"/>
          <xs:enumeration value="justify"/>
          <xs:enumeration value="char"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="char"/>
    <xs:attribute name="charoff"/>
    <xs:attribute name="valign">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="top"/>
          <xs:enumeration value="middle"/>
          <xs:enumeration value="bottom"/>
          <xs:enumeration value="baseline"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample