<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] | |||||||
Módulo | header — The TEI Header | ||||||
Atributos | att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.patternReplacement (@matchPattern, @replacementPattern)
|
||||||
Contenido en |
header: listPrefixDef
|
||||||
Puede contener | |||||||
Nota |
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. |
||||||
Ejemplo |
<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> |
||||||
Declaración |
<rng:element name="prefixDef"> element prefixDef { 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, att.patternReplacement.attributes, attribute ident { teidata.prefix }, model.pLike* } |