<code>

<code> contains literal code from some formal language such as a programming language.
Modul tagdocs — 22 Documentation Elements
Neben global gültigen Attributen
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
Kann enthalten Nur Zeichen
Deklaration

<rng:element name="code">
 <rng:ref name="att.global.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, attribute lang { data.word }?, text }
Beispiel
<code lang="JAVA"> Size fCheckbox1Size = new Size();
fCheckbox1Size.Height = 500;
fCheckbox1Size.Width = 500;
xCheckbox1.setSize(fCheckbox1Size);
</code>