<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]
Module | header |
Attributes | Attributes att.global (xml:id, n, xml:lang) (lim.att.global.fragmentable (part)) (att.global.rendition (rendition)) (att.global.source (source)) |
Member of | |
Contained by |
header: encodingDesc listPrefixDef
|
May contain |
core: desc
header: listPrefixDef prefixDef
|
Examples | 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> |
Source | Github
<elementSpec module="header" ident="listPrefixDef"> <gloss>list of prefix definitions</gloss> <desc>contains a list of definitions of prefixing schemes used in <ident type="datatype">teidata.pointer</ident> values, showing how abbreviated URIs using each scheme may be expanded into full URIs.</desc> <classes> <memberOf key="att.global"/> <memberOf key="model.encodingDescPart"/> </classes> <content> <sequence> <elementRef key="desc" minOccurs="0" maxOccurs="unbounded"/> <alternate minOccurs="1" maxOccurs="unbounded"> <elementRef key="prefixDef"/> <elementRef key="listPrefixDef"/> </alternate> </sequence> </content> </elementSpec> |