<gram>

<gram> (grammatical information) within an entry in a dictionary or a terminological data file, contains grammatical information relating to a term, word, or form. [9.3.2 Grammatical Information]
Moduledictionaries — Dictionaries
Attributesatt.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.lexicographic (@expand, @norm, @split, @value, @orig, @location, @mergedIn, @opt) (att.datcat (@datcat, @valueDatcat)) att.typed (type, @subtype)
typeclassifies the grammatical information given according to some convenient typology—in the case of terminological information, preferably the dictionary of data element types specified in ISO 12620.
Derived fromatt.typed
Status Optional
Datatype teidata.enumerated
Note

A much fuller list of values for the type attribute may be generated from the data category registry accessible from http://www.isocat.org and maintained by ISO technical committee 37.

Member of
Contained by
May contain
dictionaries: lang oRef pRef
gaiji: g
header: biblFull idno
iso-fs: fLib fs fvLib
textstructure: floatingText
verse: caesura rhyme
character data
Example
<entry>
 <form>
  <orth>pamplemousse</orth>
 </form>
 <gramGrp>
  <gram type="pos">noun</gram>
  <gram type="gen">masculine</gram>
 </gramGrp>
</entry>
Content model
<content>
 <macroRef key="macro.paraContent"/>
</content>
Schema Declaration
<rng:element name="gram">
 <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:ref name="att.lexicographic.attributes"/>
 <rng:ref name="att.datcat.attributes"/>
 <rng:ref name="att.typed.attribute.subtype"/>
 <rng:optional>
  <rng:attribute name="type">
   <rng:ref name="teidata.enumerated"/>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.paraContent"/>
</rng:element>
element gram
{
   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,
   att.lexicographic.attributes,
   att.datcat.attributes,
   att.typed.attribute.subtype,
   attribute type { teidata.enumerated }?,
   macro.paraContent
}