Text Encoding Initiative

The XML Version of the TEI Guidelines

<elemDecl>


<elemDecl> (element declaration) contains the text of a declaration for the element documented.
Attributes Global attributes only
Example

The contents of this element are usually surrounded by a CDATA marked section, which prevents the markup-declaration-open delimiter (<!) at the beginning of the element content from being recognized by the parser (and thus causing an error):

<elemDecl>
<![&nil;CDATA[
<!ELEMENT list  (head?, ((item*) | (label, item)+) )  >
]&nil;]></elemDecl>
The markup-declaration-open delimiter can however also be given as an entity reference:
<elemDecl>
&lt;!ELEMENT list  (head?, ((item*) | (label, item)+) )  >
</elemDecl>

Note

When used to document an SGML DTD, the reference concrete syntax must be employed.

Module Declared in file teitsd2; Auxiliary DTD for Tag Set documentation
Data Description Contains a statement in the DTD language, which can be used to construct an element declaration.
May contain #PCDATA
May occur within
Declaration
<!ELEMENT elemDecl %om.RO; (#PCDATA)> 
<!ATTLIST elemDecl  
      %a.global;>
See further 27.1 The TagDoc Documentation Element

Up: 35 Elements