<application>

<application> provides information about an application which has acted upon the document.
組件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.global.change (@change)) att.typed (@type, @subtype) att.datable (@calendar, @period) (att.datable.w3c (@when, @notBefore, @notAfter, @from, @to)) (att.datable.iso (@when-iso, @notBefore-iso, @notAfter-iso, @from-iso, @to-iso)) (att.datable.custom (@when-custom, @notBefore-custom, @notAfter-custom, @from-custom, @to-custom, @datingPoint, @datingMethod))
identSupplies an identifier for the application, independent of its version number or display name.
狀態 必備的
資料類型

<rng:ref name="data.name"/>
data.name
versionSupplies a version number for the application, independent of its identifier or display name.
狀態 必備的
資料類型

<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.global.change.attributes"/>
 <rng:ref name="att.typed.attributes"/>
 <rng:ref name="att.datable.attributes"/>
 <rng:ref name="att.datable.w3c.attributes"/>
 <rng:ref name="att.datable.iso.attributes"/>
 <rng:ref name="att.datable.custom.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.global.change.attributes,
   att.typed.attributes,
   att.datable.attributes,
   att.datable.w3c.attributes,
   att.datable.iso.attributes,
   att.datable.custom.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.