<refsDecl>
<refsDecl> (dichiarazione sui riferimenti) specifica in che modo siano costruiti i riferimenti canonici per il testo. 2.3.5.3 Milestone Method 2.3 The Encoding Description 2.3.5 The Reference System Declaration | |
Modulo | header — 2 The TEI Header |
Oltre agli attributi globali | att.declarable (@default) |
Usato da | |
Può contenere | |
Dichiarazione |
element refsDecl { att.global.attributes, att.declarable.attributes, ( model.pLike+ | cRefPattern+ | refState+ ) } |
Esempio |
<refsDecl>
<cRefPattern matchPattern="([A-Za-z0-9]+) ([0-9]+):([0-9]+)" replacementPattern="#xpath(//body/div[@n='$1']/div[$2]/div3[$3])"/> </refsDecl> This example is a formal representation for the referencing scheme described informally in the following example. |
Esempio |
<refsDecl>
<p>References are made up by concatenating the value for the <att>n</att> attribute on the highest level <gi>div</gi> element, followed by a space, followed by the sequential number of the next level <gi>div</gi> followed by a colon followed by the sequential number of the next (and lowest) level <gi>div</gi>.</p> </refsDecl> |