<moduleSpec>

<moduleSpec> (module specification) documents the structure, content, and purpose of a single module, i.e. a named and externally visible group of declarations.
Modultagdocs — 22 Documentation Elements
Attribute att.identified (@ident, @predeclare, @module, @mode)
typetype of module to be generated
Zustand Optional
Werte A closed set of keywords yet to be defined
Verwendet von
Kann enthalten
Deklaration

<rng:element name="moduleSpec">
<rng:ref name="att.global.attributes"/>
<rng:ref name="att.identified.attributes"/>
<rng:optional>
 <rng:attribute name="type">
  <rng:text/>
 </rng:attribute>
</rng:optional>
<rng:group>
 <rng:zeroOrMore>
  <rng:ref name="model.glossLike"/>
 </rng:zeroOrMore>
<!-- <rng:ref name="macro.glossSeq"/>-->
 <rng:zeroOrMore>
  <rng:ref name="exemplum"/>
 </rng:zeroOrMore>
 <rng:optional>
  <rng:ref name="remarks"/>
 </rng:optional>
 <rng:zeroOrMore>
  <rng:ref name="listRef"/>
 </rng:zeroOrMore>
<!-- <rng:zeroOrMore xmlns:rng="http://relaxng.org/ns/structure/1.0"> <rng:choice> <rng:ref name="model.oddDecl"/> <rng:ref name="model.oddRef"/> </rng:choice> </rng:zeroOrMore>-->
</rng:group>
</rng:element>
element moduleSpec
{
   att.global.attributes,
   att.identified.attributes,
   attribute type { text }?,
   ( model.glossLike*, exemplum*, remarks?, listRef* )
}
Beispiel
<moduleSpec ident="namesdates">
 <altIdent type="FPI">Names and Dates</altIdent>
 <desc>Additional elements for names and dates</desc>
</moduleSpec>