<prefixDef>

<prefixDef> (prefix definition) defines a prefixing scheme used in teidata.pointer values, showing how abbreviated URIs using the scheme may be expanded into full URIs. [16.2.3. Using Abbreviated Pointers]
Module header
Attributes Attributes att.global (xml:id, n, xml:lang) (lim.att.global.fragmentable (part)) (att.global.rendition (rendition)) (att.global.source (source)) att.patternReplacement (matchPattern, replacementPattern)
ident supplies a name which functions as the prefix for an abbreviated pointing scheme such as a private URI scheme. The prefix constitutes the text preceding the first colon.
Status Required
Datatype teidata.prefix
Note
The value is limited to teidata.prefix so that it may be mapped directly to a URI prefix.
Contained by
May contain
core: p
linking: ab
Note
The abbreviated pointer may be dereferenced to produce either an absolute or a relative URI reference. In the latter case it is combined with the value of xml:base in force at the place where the pointing attribute occurs to form an absolute URI in the usual manner as prescribed by XML Base.
Examples

<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>
Source Github

<elementSpec module="header" ident="prefixDef">
   
<gloss>prefix definition</gloss>
   
<desc>defines a prefixing scheme used in <ident type="datatype">teidata.pointer</ident> values,
 showing how abbreviated URIs using the scheme may be expanded into full URIs.
</desc>
   
<classes>
      
<memberOf key="att.global"/>
      
<memberOf key="att.patternReplacement"/>
   
</classes>
   
<content>
      
<classRef key="model.pLike" minOccurs="0" maxOccurs="unbounded"/>
   
</content>
   
<attList>
      
<attDef ident="ident" usage="req">
         
<desc>supplies a name which functions as the prefix for an abbreviated
      pointing scheme such as a private URI scheme. The prefix constitutes the 
    text preceding the first colon.
</desc>
         
<datatype>
            
<dataRef key="teidata.prefix"/>
         
</datatype>
      
</attDef>
   
</attList>
</elementSpec>