<code>

<code> contiene un código alfabético que se deriva de un lenguaje formal, p.ej. un lenguaje de programación. [22.1.1 Phrase Level Terms]
Módulo tagdocs — Documentation Elements
Atributos
lang⚓︎ (lenguaje formal) es el nombre que identifica el lenguaje formal en el que se expresa el código.
Estado Opcional
Tipo de datos teidata.word
Miembro de
Contenido en
analysis: cl phr s span
figures: cell figDesc
iso-fs: fDescr fsDescr
linking: ab seg
spoken: u writing
tagdocs: eg valDesc
verse: metSym rhyme
Puede contener Sólo datos de caracteres
Ejemplo
<code lang="JAVA"> Size fCheckbox1Size = new Size();
fCheckbox1Size.Height = 500;
fCheckbox1Size.Width = 500;
xCheckbox1.setSize(fCheckbox1Size);
</code>
Content model
<content>
 <textNode/>
</content>
Declaración
<rng:element name="code">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:optional>
  <rng:attribute name="lang">
   <rng:ref name="teidata.word"/>
  </rng:attribute>
 </rng:optional>
 <rng:text/>
</rng:element>
element code
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   attribute lang { teidata.word }?,
   text
}