<ptr>

<ptr> 標明一個與其他位置相連結的指標。 3.6 Simple Links and Cross-References 16.1 Links
組件core — 3 Elements Available in All TEI Documents
屬性 att.pointing (@type, @evaluate) att.declaring (@decls)
target提供一個或多個統一資源識別符參照 (URI References) 來具體說明指標所指的位置。
狀態 必備的
資料類型 1–∞ occurrences of

<rng:ref name="data.pointer"/>
data.pointer
以空白鍵隔開
One or more syntactically valid URI references, separated by whitespace. Because whitespace is used to separate URIs, no whitespace is permitted inside a single URI. If a whitespace character is required in a URI, it should be escaped with the normal mechanism, e.g. TEI%20Consortium.
cRef (canonical reference) 用元素refsDecl在TEI標頭內所定義的標準參照來說明指標所指位置。
狀態 必備的
資料類型 1–∞ occurrences of

<rng:ref name="data.word"/>
data.word
以空白鍵隔開
the result of applying the algorithm for the resolution of canonical references (described in section 16.2.5 Canonical References) should be a valid URI reference to the intended target
屬於
可包含空白元素
宣告

<rng:element name="ptr">
<rng:ref name="att.global.attributes"/>
<rng:ref name="att.pointing.attributes"/>
<rng:ref name="att.declaring.attributes"/>
<rng:choice>
 <rng:attribute name="target">
  <rng:list>
   <rng:oneOrMore>
    <rng:ref name="data.pointer"/>
   </rng:oneOrMore>
  </rng:list>
 </rng:attribute>
 <rng:attribute name="cRef">
  <rng:list>
   <rng:oneOrMore>
    <rng:ref name="data.word"/>
   </rng:oneOrMore>
  </rng:list>
 </rng:attribute>
</rng:choice>
<rng:empty/>
</rng:element>
element ptr
{
   att.global.attributes,
   att.pointing.attributes,
   att.declaring.attributes,
   (
      attribute target { list { data.pointer+ } }
    | attribute cRef { list { data.word+ } }
   ),
   empty
}
例子
<ptr target="#p143 #p144"/>
<ptr target="http://www.tei-c.org"/>