<cRefPattern>
<cRefPattern> (definisce in che modo convertire un riferimento canonico in un URI) specifica un espressione o un pattern di sostituzione per convertire convertire un riferimento canonico in un URI [2.3.6.3 Milestone Method 2.3.6 The Reference System Declaration 2.3.6.2 Search-and-Replace Method] | |
Modulo | header — The TEI Header |
Attributi | 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.patternReplacement (@matchPattern, @replacementPattern) |
Contenuto in | header: refsDecl |
Può contenere | |
Dichiarazione |
element cRefPattern { 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.patternReplacement.attributes, model.pLike* } |
Esempio | <cRefPattern matchPattern="([1-9A-Za-z]+)\s+([0-9]+):([0-9]+)" replacementPattern="#xpath(//div[@type='book'][@n='$1']/div[@type='chap'][@n='$2']/div[@type='verse'][@n='$3'])"/> |