docbook:listitem

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
annotations optional
arch optional
audience optional
condition optional
conformance optional
dir restriction of xs:token optional
linkend xs:IDREF optional
os optional
override xs:NMTOKEN optional
remap optional
revision optional
revisionflag restriction of xs:token optional
role optional
security optional
userlevel optional
vendor optional
version optional
wordsize optional
xlink:actuate xlink:actuateType optional
xlink:arcrole xlink:arcroleType optional
xlink:href xlink:hrefType optional
xlink:role xlink:roleType optional
xlink:show xlink:showType optional
xlink:title xlink:titleAttrType optional
xlink:type xlink:typeType 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="listitem">
  <xs:complexType>
    <xs:choice maxOccurs="unbounded">
      <xs:element ref="docbook:itemizedlist"/>
      <xs:element ref="docbook:orderedlist"/>
      <xs:element ref="docbook:procedure"/>
      <xs:element ref="docbook:simplelist"/>
      <xs:element ref="docbook:variablelist"/>
      <xs:element ref="docbook:segmentedlist"/>
      <xs:element ref="docbook:glosslist"/>
      <xs:element ref="docbook:bibliolist"/>
      <xs:element ref="docbook:calloutlist"/>
      <xs:element ref="docbook:qandaset"/>
      <xs:element ref="docbook:example"/>
      <xs:element ref="docbook:figure"/>
      <xs:element ref="docbook:table"/>
      <xs:element ref="docbook:equation"/>
      <xs:element ref="docbook:informalexample"/>
      <xs:element ref="docbook:informalfigure"/>
      <xs:element ref="docbook:informaltable"/>
      <xs:element ref="docbook:informalequation"/>
      <xs:element ref="docbook:sidebar"/>
      <xs:element ref="docbook:blockquote"/>
      <xs:element ref="docbook:address"/>
      <xs:element ref="docbook:epigraph"/>
      <xs:element ref="docbook:mediaobject"/>
      <xs:element ref="docbook:screenshot"/>
      <xs:element ref="docbook:task"/>
      <xs:element ref="docbook:productionset"/>
      <xs:element ref="docbook:constraintdef"/>
      <xs:element ref="docbook:msgset"/>
      <xs:element ref="docbook:screen"/>
      <xs:element ref="docbook:literallayout"/>
      <xs:element ref="docbook:programlistingco"/>
      <xs:element ref="docbook:screenco"/>
      <xs:element ref="docbook:programlisting"/>
      <xs:element ref="docbook:synopsis"/>
      <xs:element ref="docbook:bridgehead"/>
      <xs:element ref="docbook:remark"/>
      <xs:element ref="docbook:revhistory"/>
      <xs:element ref="docbook:indexterm"/>
      <xs:element ref="docbook:funcsynopsis"/>
      <xs:element ref="docbook:classsynopsis"/>
      <xs:element ref="docbook:methodsynopsis"/>
      <xs:element ref="docbook:constructorsynopsis"/>
      <xs:element ref="docbook:destructorsynopsis"/>
      <xs:element ref="docbook:fieldsynopsis"/>
      <xs:element ref="docbook:cmdsynopsis"/>
      <xs:element ref="docbook:caution"/>
      <xs:element ref="docbook:important"/>
      <xs:element ref="docbook:note"/>
      <xs:element ref="docbook:tip"/>
      <xs:element ref="docbook:warning"/>
      <xs:element ref="docbook:anchor"/>
      <xs:element ref="docbook:para"/>
      <xs:element ref="docbook:formalpara"/>
      <xs:element ref="docbook:simpara"/>
      <xs:element ref="docbook:annotation"/>
    </xs:choice>
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="docbook:db.common.attributes"/>
    <xs:attributeGroup ref="docbook:db.common.linking.attributes"/>
    <xs:attribute name="override" type="xs:NMTOKEN"/>
  </xs:complexType>
</xs:element>

Sample

< itemizedlist xmlns = "http://docbook.org/ns/docbook" >

< listitem>

< para>

< emphasis>

DocBook V4.x is feature frozen.

</ emphasis>

DocBook V4.5 is the last version of DocBook in the V4.x series. Any new DocBook development, like the addition of new elements, will be done in DocBook V5.0. It is only matter of time before useful, new elements will be added into DocBook V5.0, but they are not likely to be back ported into DocBook V4.x. DocBook V4.x will be in maintenance mode and errata will be published if necessary.

</ para>

</ listitem>

< listitem>

< para>

< emphasis>

DocBook V5.0 offers new functionality.

</ emphasis>

DocBook V5.0 provides significant improvements over DocBook V4.x. For example there is general markup for annotations, a new and flexible system for linking, and unified markup for information sections using the

< tag>

info

</ tag>

element.

</ para>

</ listitem>

< listitem>

< para>

< emphasis>

DocBook V5.0 is more extensible.

</ emphasis>

Having DocBook V5.0 in a separate namespace allows you to easily mix DocBook markup with other XML-based languages like SVG, MathML, XHTML or even FooBarML.

</ para>

</ listitem>

< listitem>

< para>

< emphasis>

DocBook V5.0 is easier to customize.

</ emphasis>

RELAX NG offers many powerful constructs that make customization much easier than it would be using a DTD (see

< xref linkend = "customizations" />

).

</ para>

</ listitem>

</ itemizedlist>