docbook:othercredit

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
annotations optional
arch optional
audience optional
class restriction of xs:token optional
condition optional
conformance optional
dir restriction of xs:token optional
linkend xs:IDREF optional
os optional
otherclass 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="othercredit">
  <xs:complexType>
    <xs:choice>
      <xs:sequence>
        <xs:element ref="docbook:personname"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="docbook:personblurb"/>
          <xs:element ref="docbook:affiliation"/>
          <xs:element ref="docbook:email"/>
          <xs:element ref="docbook:uri"/>
          <xs:element ref="docbook:address"/>
          <xs:element ref="docbook:contrib"/>
        </xs:choice>
      </xs:sequence>
      <xs:sequence>
        <xs:element ref="docbook:orgname"/>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="docbook:orgdiv"/>
          <xs:element ref="docbook:affiliation"/>
          <xs:element ref="docbook:email"/>
          <xs:element ref="docbook:uri"/>
          <xs:element ref="docbook:address"/>
          <xs:element ref="docbook:contrib"/>
        </xs:choice>
      </xs:sequence>
    </xs:choice>
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="docbook:db.common.attributes"/>
    <xs:attributeGroup ref="docbook:db.common.linking.attributes"/>
    <xs:attribute name="class">
      <xs:simpleType>
        <xs:restriction base="xs:token">
          <xs:enumeration value="copyeditor"/>
          <xs:enumeration value="graphicdesigner"/>
          <xs:enumeration value="other"/>
          <xs:enumeration value="productioneditor"/>
          <xs:enumeration value="technicaleditor"/>
          <xs:enumeration value="translator"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="otherclass" type="xs:NMTOKEN"/>
  </xs:complexType>
</xs:element>

Sample

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

[...]

< author>

< personname>

Jirka Kosek

</ personname>

< email>

jirka@kosek.cz

</ email>

</ author>

< author>

< personname>

Norman Walsh

</ personname>

< email>

ndw@nwalsh.com

</ email>

< contrib>

§convert4to5, proofreading

</ contrib>

</ author>

< author>

< personname>

Dick Hamilton

</ personname>

< email>

rlhamilton@frii.com

</ email>

< contrib>

§changes-removed, customization, proofreading

</ contrib>

</ author>

< othercredit class = "other" otherclass = "contributor" >

< personname>

Michael(tm) Smith

</ personname>

< email>

smith@sideshowbarker.net

</ email>

< contrib>

§dbxsl-ns

</ contrib>

</ othercredit>

</ authorgroup>