<listPrefixDef>

<listPrefixDef> (list of prefix definitions) contains a list of definitions of prefixing schemes used in teidata.pointer values, showing how abbreviated URIs using each scheme may be expanded into full URIs. [16.2.3 Using Abbreviated Pointers]
모듈 header — The TEI Header
속성
클럽 회원
에 의해 포함된
포함할 수 있다
core: desc

In this example, two private URI scheme prefixes are defined and patterns are provided for dereferencing them. Each prefix is also supplied with a human-readable explanation in a p element.

<listPrefixDef>
 <prefixDef ident="psn"
  matchPattern="([A-Z]+)"
  replacementPattern="personography.xml#$1">

  <p> Private URIs using the <code>psn</code>
     prefix are pointers to <gi>person</gi>
     elements in the personography.xml file.
     For example, <code>psn:MDH</code>
     dereferences to <code>personography.xml#MDH</code>.
  </p>
 </prefixDef>
 <prefixDef ident="bibl"
  matchPattern="([a-z]+[a-z0-9]*)"
  replacementPattern="http://www.example.com/getBibl.xql?id=$1">

  <p> Private URIs using the <code>bibl</code> prefix can be
     expanded to form URIs which retrieve the relevant
     bibliographical reference from www.example.com.
  </p>
 </prefixDef>
</listPrefixDef>
Content model
<content>
 <sequence>
  <elementRef key="descminOccurs="0"
   maxOccurs="unbounded"/>

  <alternate minOccurs="1"
   maxOccurs="unbounded">

   <elementRef key="prefixDef"/>
   <elementRef key="listPrefixDef"/>
  </alternate>
 </sequence>
</content>
선언
<rng:element name="listPrefixDef">
 <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:group>
  <rng:zeroOrMore>
   <rng:ref name="desc"/>
  </rng:zeroOrMore>
  <rng:oneOrMore>
   <rng:choice>
    <rng:ref name="prefixDef"/>
    <rng:ref name="listPrefixDef"/>
   </rng:choice>
  </rng:oneOrMore>
 </rng:group>
</rng:element>
element listPrefixDef
{
   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,
   ( desc*, ( prefixDef | listPrefixDef )+ )
}