<listPrefixDef>
<listPrefixDef> (list of prefix definitions) contains a list of definitions of prefixing schemes used in data.pointer values, showing how abbreviated URIs using each scheme may be expanded into full URIs. [16.2.3 Using Abbreviated Pointers] | |
モジュール | header — 2 The TEI Header |
属性 | att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) |
クラブのメンバー | |
上位 | header: encodingDesc listPrefixDef |
下位 | header: listPrefixDef prefixDef |
宣言 |
element listPrefixDef { att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, ( ( prefixDef | listPrefixDef )+ ) } |
例 | 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> |