<code>

<code> contains literal code from some formal language such as a programming language.
Modultagdocs — 22 Documentation Elements
Attributeatt.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs))
lang (formal language) a name identifying the formal language in which the code is expressed
Zustand Optional
Datentyp

<rng:ref name="data.word"/>
data.word
Verwendet von
Enthalten in
analysis: cl phr s span
figures: cell figDesc
iso-fs: fDescr fsDescr
linking: ab seg
spoken: u writing
tagdocs: valDesc
verse: metSym rhyme
Kann enthaltenNur Zeichen
Deklaration

<rng:element name="code">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:optional>
  <rng:attribute name="lang">
   <rng:ref name="data.word"/>
  </rng:attribute>
 </rng:optional>
 <rng:text/>
</rng:element>
element code
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   attribute lang { data.word }?,
   text
}
Beispiel
<code lang="JAVA"> Size fCheckbox1Size = new Size();
fCheckbox1Size.Height = 500;
fCheckbox1Size.Width = 500;
xCheckbox1.setSize(fCheckbox1Size);
</code>