docbook:link

Element Information

Model

docbook:inlinemediaobject | docbook:remark | docbook:superscript | docbook:subscript | docbook:xref | docbook:link | docbook:olink | docbook:anchor | docbook:biblioref | docbook:alt | docbook:annotation | docbook:indexterm | docbook:abbrev | docbook:acronym | docbook:date | docbook:emphasis | docbook:footnote | docbook:footnoteref | docbook:foreignphrase | docbook:phrase | docbook:quote | docbook:wordasword | docbook:firstterm | docbook:glossterm | docbook:coref | docbook:trademark | docbook:productnumber | docbook:productname | docbook:database | docbook:application | docbook:hardware | docbook:citation | docbook:citerefentry | docbook:citetitle | docbook:citebiblioid | docbook:author | docbook:person | docbook:personname | docbook:org | docbook:orgname | docbook:editor | docbook:jobtitle | docbook:replaceable | docbook:package | docbook:parameter | docbook:termdef | docbook:nonterminal | docbook:systemitem | docbook:option | docbook:optional | docbook:property | docbook:inlineequation | docbook:tag | docbook:markup | docbook:token | docbook:symbol | docbook:literal | docbook:code | docbook:constant | docbook:email | docbook:uri | docbook:guiicon | docbook:guibutton | docbook:guimenuitem | docbook:guimenu | docbook:guisubmenu | docbook:guilabel | docbook:menuchoice | docbook:mousebutton | docbook:keycombo | docbook:keycap | docbook:keycode | docbook:keysym | docbook:shortcut | docbook:accel | docbook:prompt | docbook:envar | docbook:filename | docbook:command | docbook:computeroutput | docbook:userinput | docbook:function | docbook:varname | docbook:returnvalue | docbook:type | docbook:classname | docbook:exceptionname | docbook:interfacename | docbook:methodname | docbook:modifier | docbook:initializer | docbook:ooclass | docbook:ooexception | docbook:oointerface | docbook:errorcode | docbook:errortext | docbook:errorname | docbook:errortype
Children: docbook:abbrev, docbook:accel, docbook:acronym, docbook:alt, docbook:anchor, docbook:annotation, docbook:application, docbook:author, docbook:biblioref, docbook:citation, docbook:citebiblioid, docbook:citerefentry, docbook:citetitle, docbook:classname, docbook:code, docbook:command, docbook:computeroutput, docbook:constant, docbook:coref, docbook:database, docbook:date, docbook:editor, docbook:email, docbook:emphasis, docbook:envar, docbook:errorcode, docbook:errorname, docbook:errortext, docbook:errortype, docbook:exceptionname, docbook:filename, docbook:firstterm, docbook:footnote, docbook:footnoteref, docbook:foreignphrase, docbook:function, docbook:glossterm, docbook:guibutton, docbook:guiicon, docbook:guilabel, docbook:guimenu, docbook:guimenuitem, docbook:guisubmenu, docbook:hardware, docbook:indexterm, docbook:initializer, docbook:inlineequation, docbook:inlinemediaobject, docbook:interfacename, docbook:jobtitle, docbook:keycap, docbook:keycode, docbook:keycombo, docbook:keysym, docbook:link, docbook:literal, docbook:markup, docbook:menuchoice, docbook:methodname, docbook:modifier, docbook:mousebutton, docbook:nonterminal, docbook:olink, docbook:ooclass, docbook:ooexception, docbook:oointerface, docbook:option, docbook:optional, docbook:org, docbook:orgname, docbook:package, docbook:parameter, docbook:person, docbook:personname, docbook:phrase, docbook:productname, docbook:productnumber, docbook:prompt, docbook:property, docbook:quote, docbook:remark, docbook:replaceable, docbook:returnvalue, docbook:shortcut, docbook:subscript, docbook:superscript, docbook:symbol, docbook:systemitem, docbook:tag, docbook:termdef, docbook:token, docbook:trademark, docbook:type, docbook:uri, docbook:userinput, docbook:varname, docbook:wordasword, docbook:xref

Attributes

QName Type Fixed Default Use Inheritable Annotation
annotations optional
arch optional
audience optional
condition optional
conformance optional
dir restriction of xs:token optional
endterm xs:IDREF optional
linkend xs:IDREF optional
os 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
xrefstyle optional

Used By

Elements docbook:abbrev, docbook:accel, docbook:acronym, docbook:address, docbook:application, docbook:arg, docbook:artpagenums, docbook:attribution, docbook:authorinitials, docbook:bibliocoverage, docbook:biblioid, docbook:bibliomisc, docbook:bibliomset, docbook:bibliorelation, docbook:bibliosource, docbook:bridgehead, docbook:citation, docbook:citebiblioid, docbook:citetitle, docbook:city, docbook:classname, docbook:classsynopsisinfo, docbook:code, docbook:command, docbook:computeroutput, docbook:confdates, docbook:confnum, docbook:confsponsor, docbook:conftitle, docbook:constant, docbook:contractnum, docbook:contractsponsor, docbook:contrib, docbook:country, docbook:database, docbook:edition, docbook:email, docbook:emphasis, docbook:entry, docbook:envar, docbook:errorcode, docbook:errorname, docbook:errortext, docbook:errortype, docbook:exceptionname, docbook:fax, docbook:filename, docbook:firstname, docbook:firstterm, docbook:foreignphrase, docbook:funcdef, docbook:funcparams, docbook:funcsynopsisinfo, docbook:function, docbook:glosssee, docbook:glossseealso, docbook:glossterm, docbook:guibutton, docbook:guiicon, docbook:guilabel, docbook:guimenu, docbook:guimenuitem, docbook:guisubmenu, docbook:hardware, docbook:holder, docbook:honorific, docbook:initializer, docbook:interfacename, docbook:issuenum, docbook:jobtitle, docbook:keycap, docbook:keycode, docbook:keysym, docbook:label, docbook:lineage, docbook:lineannotation, docbook:link, docbook:literal, docbook:literallayout, docbook:manvolnum, docbook:markup, docbook:mathphrase, docbook:member, docbook:methodname, docbook:modifier, docbook:mousebutton, docbook:msgaud, docbook:msglevel, docbook:msgorig, docbook:olink, docbook:option, docbook:optional, docbook:orgdiv, docbook:orgname, docbook:otheraddr, docbook:othername, docbook:package, docbook:pagenums, docbook:para, docbook:paramdef, docbook:parameter, docbook:personname, docbook:phone, docbook:phrase, docbook:pob, docbook:postcode, docbook:primary, docbook:primaryie, docbook:productname, docbook:productnumber, docbook:programlisting, docbook:prompt, docbook:property, docbook:publishername, docbook:quote, docbook:refdescriptor, docbook:refentrytitle, docbook:refmiscinfo, docbook:refname, docbook:refpurpose, docbook:releaseinfo, docbook:remark, docbook:replaceable, docbook:returnvalue, docbook:revnumber, docbook:revremark, docbook:screen, docbook:secondary, docbook:secondaryie, docbook:see, docbook:seealso, docbook:seealsoie, docbook:seeie, docbook:seg, docbook:segtitle, docbook:seriesvolnums, docbook:shortaffil, docbook:simpara, docbook:state, docbook:street, docbook:subscript, docbook:subtitle, docbook:superscript, docbook:surname, docbook:symbol, docbook:synopsis, docbook:systemitem, docbook:tag, docbook:td, docbook:term, docbook:termdef, docbook:tertiary, docbook:tertiaryie, docbook:th, docbook:title, docbook:titleabbrev, docbook:tocentry, docbook:token, docbook:trademark, docbook:type, docbook:uri, docbook:userinput, docbook:varname, docbook:volumenum, docbook:wordasword, docbook:year

Source

<xs:element name="link">
  <xs:complexType mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element ref="docbook:inlinemediaobject"/>
      <xs:element ref="docbook:remark"/>
      <xs:element ref="docbook:superscript"/>
      <xs:element ref="docbook:subscript"/>
      <xs:element ref="docbook:xref"/>
      <xs:element ref="docbook:link"/>
      <xs:element ref="docbook:olink"/>
      <xs:element ref="docbook:anchor"/>
      <xs:element ref="docbook:biblioref"/>
      <xs:element ref="docbook:alt"/>
      <xs:element ref="docbook:annotation"/>
      <xs:element ref="docbook:indexterm"/>
      <xs:element ref="docbook:abbrev"/>
      <xs:element ref="docbook:acronym"/>
      <xs:element ref="docbook:date"/>
      <xs:element ref="docbook:emphasis"/>
      <xs:element ref="docbook:footnote"/>
      <xs:element ref="docbook:footnoteref"/>
      <xs:element ref="docbook:foreignphrase"/>
      <xs:element ref="docbook:phrase"/>
      <xs:element ref="docbook:quote"/>
      <xs:element ref="docbook:wordasword"/>
      <xs:element ref="docbook:firstterm"/>
      <xs:element ref="docbook:glossterm"/>
      <xs:element ref="docbook:coref"/>
      <xs:element ref="docbook:trademark"/>
      <xs:element ref="docbook:productnumber"/>
      <xs:element ref="docbook:productname"/>
      <xs:element ref="docbook:database"/>
      <xs:element ref="docbook:application"/>
      <xs:element ref="docbook:hardware"/>
      <xs:element ref="docbook:citation"/>
      <xs:element ref="docbook:citerefentry"/>
      <xs:element ref="docbook:citetitle"/>
      <xs:element ref="docbook:citebiblioid"/>
      <xs:element ref="docbook:author"/>
      <xs:element ref="docbook:person"/>
      <xs:element ref="docbook:personname"/>
      <xs:element ref="docbook:org"/>
      <xs:element ref="docbook:orgname"/>
      <xs:element ref="docbook:editor"/>
      <xs:element ref="docbook:jobtitle"/>
      <xs:element ref="docbook:replaceable"/>
      <xs:element ref="docbook:package"/>
      <xs:element ref="docbook:parameter"/>
      <xs:element ref="docbook:termdef"/>
      <xs:element ref="docbook:nonterminal"/>
      <xs:element ref="docbook:systemitem"/>
      <xs:element ref="docbook:option"/>
      <xs:element ref="docbook:optional"/>
      <xs:element ref="docbook:property"/>
      <xs:element ref="docbook:inlineequation"/>
      <xs:element ref="docbook:tag"/>
      <xs:element ref="docbook:markup"/>
      <xs:element ref="docbook:token"/>
      <xs:element ref="docbook:symbol"/>
      <xs:element ref="docbook:literal"/>
      <xs:element ref="docbook:code"/>
      <xs:element ref="docbook:constant"/>
      <xs:element ref="docbook:email"/>
      <xs:element ref="docbook:uri"/>
      <xs:element ref="docbook:guiicon"/>
      <xs:element ref="docbook:guibutton"/>
      <xs:element ref="docbook:guimenuitem"/>
      <xs:element ref="docbook:guimenu"/>
      <xs:element ref="docbook:guisubmenu"/>
      <xs:element ref="docbook:guilabel"/>
      <xs:element ref="docbook:menuchoice"/>
      <xs:element ref="docbook:mousebutton"/>
      <xs:element ref="docbook:keycombo"/>
      <xs:element ref="docbook:keycap"/>
      <xs:element ref="docbook:keycode"/>
      <xs:element ref="docbook:keysym"/>
      <xs:element ref="docbook:shortcut"/>
      <xs:element ref="docbook:accel"/>
      <xs:element ref="docbook:prompt"/>
      <xs:element ref="docbook:envar"/>
      <xs:element ref="docbook:filename"/>
      <xs:element ref="docbook:command"/>
      <xs:element ref="docbook:computeroutput"/>
      <xs:element ref="docbook:userinput"/>
      <xs:element ref="docbook:function"/>
      <xs:element ref="docbook:varname"/>
      <xs:element ref="docbook:returnvalue"/>
      <xs:element ref="docbook:type"/>
      <xs:element ref="docbook:classname"/>
      <xs:element ref="docbook:exceptionname"/>
      <xs:element ref="docbook:interfacename"/>
      <xs:element ref="docbook:methodname"/>
      <xs:element ref="docbook:modifier"/>
      <xs:element ref="docbook:initializer"/>
      <xs:element ref="docbook:ooclass"/>
      <xs:element ref="docbook:ooexception"/>
      <xs:element ref="docbook:oointerface"/>
      <xs:element ref="docbook:errorcode"/>
      <xs:element ref="docbook:errortext"/>
      <xs:element ref="docbook:errorname"/>
      <xs:element ref="docbook:errortype"/>
    </xs:choice>
    <xs:attribute name="role"/>
    <xs:attributeGroup ref="docbook:db.common.attributes"/>
    <xs:attributeGroup ref="docbook:db.common.linking.attributes"/>
    <xs:attribute name="xrefstyle"/>
    <xs:attribute name="endterm" type="xs:IDREF"/>
  </xs:complexType>
</xs:element>

Sample

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

Schemas for DocBook V5.0 are available in several formats at

< link xl:href = "http://www.oasis-open.org/docbook/xml/5.0/" />

(or the mirror at

< link xl:href = "http://docbook.org/xml/5.0/" />

).Only the RELAX NG schema is normativeand it is preferred over the other schema languages. However, for yourconvenience there are also DTD and W3C XML Schema versions provided for DocBookV5.0. But please note that neither the DTD nor the W3C XML schema are able tocapture all the constraints of DocBook V5.0. This mean that adocument that validates against the DTD or XML schema is not necessarilyvalid against the RELAX NG schema and thus may not be a validDocBook V5.0 document. See

< xref linkend = "t.schema-comparison" />

for summary of constraints that are checked by different schemas.

</ para>