Example: <prefixDef> (prefix definition)

These search results reproduce every example of the use of <prefixDef> in the Guidelines, including all localised and translated versions. In some cases, the examples have been drawn from discussion of other elements in the Guidelines and illustrating the use of <prefixDef> is not the main focus of the passage in question. In other cases, examples may be direct translations of each other, and hence identical from the perspective of their encoding.

2 The TEI Header


<prefixDef>

<prefixDef ident="ref"
 matchPattern="([a-z]+)"
 replacementPattern="../../references/references.xml#$1">

 <p> In the context of this project, private URIs with
   the prefix "ref" point to <gi>div</gi> elements in
   the project's global references.xml file.
 </p>
</prefixDef>
Show all ⚓︎

<listPrefixDef>

<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>
Show all ⚓︎

1 The TEI Infrastructure


att.datcat

<listPrefixDef>
 <prefixDef ident="ccrmatchPattern="pos"
  replacementPattern="http://hdl.handle.net/11459/CCR_C-396_5a972b93-2294-ab5c-a541-7c344c5f26c3"/>

 <prefixDef ident="ccrmatchPattern="adj"
  replacementPattern="http://hdl.handle.net/11459/CCR_C-1230_23653c21-fca1-edf8-fd7c-3df2d6499157"/>

</listPrefixDef>
<!-- ... -->
<entry>
<!--...-->
 <form>
  <orth>isotope</orth>
 </form>
 <gramGrp>
  <pos datcat="ccr:pos"
   valueDatcat="ccr:adj">
adj</pos>
 </gramGrp>
<!--...-->
</entry>
⚓︎

16 Linking, Segmentation, and Alignment


16.2.3 Using Abbreviated Pointers

<listPrefixDef>
 <prefixDef ident="psn"
  matchPattern="([a-z]+)"
  replacementPattern="../../references/people/personography.xml#$1">

  <p> In the context of this project, private URIs with the prefix
     "psn" point to <gi>person</gi> elements in the project's
     personography.xml file.
  </p>
 </prefixDef>
</listPrefixDef>
⚓︎

16.2.3 Using Abbreviated Pointers

<prefixDef ident="psn"
 matchPattern="([a-z]+)"
 replacementPattern="http://www.example.com/personography.html#$1">

 <p> Private URIs with the prefix "psn" can be converted to point
   to a fragment on the Personography page of the project Website.
 </p>
</prefixDef>
⚓︎