<application>

<application> 当該文書に作用するソフトウェアに関する情報を示す.
モジュールheader — 2 The TEI Header
属性att.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) att.typed (@type, @subtype) att.datable (att.datable.w3c (@period, @when, @notBefore, @notAfter, @from, @to)) (att.datable.iso (@when-iso, @notBefore-iso, @notAfter-iso, @from-iso, @to-iso))
ident 当該ソフトウェアの識別子を示す.これは,版番号や表示名とは異なる.
状態 必須
データ型

<rng:ref name="data.name"/>
data.name
version 当該ソフトウェアの版番号を示す.識別子や表示名とは異なる.
状態 必須
データ型

<rng:data type="token">
 <rng:param name="pattern">[\d]+[a-z]*[\d]*(\.[\d]+[a-z]*[\d]*){0,3}</rng:param>
</rng:data>
token { pattern = "[\d]+[a-z]*[\d]*(\.[\d]+[a-z]*[\d]*){0,3}" }
当該モジュールを使用するもの
上位
header: appInfo
下位
linking: ab
宣言

<rng:element name="application">
 <rng:ref name="att.global.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.typed.attributes"/>
 <rng:ref name="att.datable.w3c.attributes"/>
 <rng:ref name="att.datable.iso.attributes"/>
 <rng:attribute name="ident">
  <rng:ref name="data.name"/>
 </rng:attribute>
 <rng:attribute name="version">
  <rng:data type="token">
   <rng:param name="pattern">[\d]+[a-z]*[\d]*(\.[\d]+[a-z]*[\d]*){0,3}</rng:param>
  </rng:data>
 </rng:attribute>
 <rng:group>
  <rng:oneOrMore>
   <rng:ref name="model.labelLike"/>
  </rng:oneOrMore>
  <rng:choice>
   <rng:zeroOrMore>
    <rng:ref name="model.ptrLike"/>
   </rng:zeroOrMore>
   <rng:zeroOrMore>
    <rng:ref name="model.pLike"/>
   </rng:zeroOrMore>
  </rng:choice>
 </rng:group>
</rng:element>
element application
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.typed.attributes,
   att.datable.w3c.attributes,
   att.datable.iso.attributes,
   attribute ident { data.name },
   attribute version
   {
      token { pattern = "[\d]+[a-z]*[\d]*(\.[\d]+[a-z]*[\d]*){0,3}" }
   },
   ( model.labelLike+, ( model.ptrLike* | model.pLike* ) )
}
<appInfo>
 <application version="1.5" ident="ImageMarkupTool1" notAfter="2006-06-01">
  <label>Image Markup Tool</label>
  <ptr target="#P1"/>
  <ptr target="#P2"/>
 </application>
</appInfo>

This example shows an appInfo element documenting the fact that version 1.5 of the Image Markup Tool1 application has an interest in two parts of a document which was last saved on June 6 2006. The parts concerned are accessible at the URLs given as target for the two ptr elements.