<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.
Module headerSAPU
Attributes
Global and inherited attributes:
- @identsupplies 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
Classes and content
- May contain
core
linking
- Contained by
header
Note
Note that we used the term prefix in a general sense; in the context of a teidata.pointer attribute, the prefix functions as a private URI scheme name as defined in RFC 7595.
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.
Example
<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>
Content model
<content>
<classRef key="model.pLike" minOccurs="0" maxOccurs="unbounded"/>
</content>