<link>
<link> ( lien) définit une association ou un lien hypertextuel entre des éléments ou des passages, lien dont le type ne peut être spécifié précisément par d'autres éléments. [16.1 Links] | ||||||||||||
Module | linking — Linking, Segmentation, and Alignment | |||||||||||
Attributs | 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)) att.pointing (@targetLang, @target, @evaluate) att.typed (@type, @subtype)
| |||||||||||
Membre du | ||||||||||||
Contenu dans | core: abbr add addrLine address author bibl biblScope cit citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi imprint item l label lg list measure mentioned name note num orig p pubPlace publisher q quote ref reg resp rs said series sic soCalled sp speaker stage street term textLang time title unclear corpus: activity channel constitution derivation domain factuality interaction locale preparedness purpose dictionaries: case colloc def dictScrap entry entryFree etym form gen gram gramGrp hom hyph iType lang lbl mood number orth per pos pron re sense stress subc syll tns usg xr drama: actor camera caption castGroup castItem castList epilogue performance prologue role roleDesc set sound spGrp tech view header: authority change classCode distributor edition extent funder geoDecl handNote language licence principal scriptNote sponsor typeNote msdescription: accMat acquisition additions catchwords collation colophon condition custEvent decoNote explicit filiation finalRubric foliation heraldry incipit layout material msItem musicNotation objectType origDate origPlace origin provenance rubric secFol signatures source stamp summary support surrogates watermark namesdates: addName affiliation age birth bloc country death district education event faith floruit forename genName geogFeat geogName langKnown nameLink nationality occupation org orgName persName person place placeName region residence roleName settlement sex socecStatus surname nets: graph textstructure: argument back body byline closer dateline div div1 div2 div3 div4 div5 div6 div7 docAuthor docDate docEdition docImprint docTitle epigraph floatingText front group imprimatur opener postscript salute signed text titlePage titlePart trailer | |||||||||||
Peut contenir | Elément vide | |||||||||||
Declaration |
element link { att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.pointing.attributes, att.typed.attributes, attribute targets { list { data.pointer, data.pointer, data.pointer* } }?, empty } | |||||||||||
Schematron | <sch:report test="@target and @targets">You may not supply both @target and @targets on <sch:name/> </sch:report> | |||||||||||
Schematron | <sch:report test="not(@target) and not(@targets)">You must supply either @target or @targets on <sch:name/> </sch:report> | |||||||||||
Schematron | <sch:assert test="contains(@targets,' ') or contains(@target,' ')">You must supply at least two values for @target or @targets on <sch:name/> </sch:assert> | |||||||||||
Exemple | <s n="1">The state Supreme Court has refused to release <rs xml:id="R1"> <rs xml:id="R2">Rahway State Prison</rs> inmate</rs> <rs xml:id="R3">James Scott</rs> on bail.</s> <s n="2"> <rs xml:id="R4">The fighter</rs> is serving 30-40 years for a 1975 armed robbery conviction in <rs xml:id="R5">the penitentiary</rs>. </s> <!-- ... --> <linkGrp type="periphrasis"> <link target="#R1 #R3 #R4"/> <link target="#R2 #R5"/> </linkGrp> | |||||||||||
Note | Cet élément n’est utilisé que pour encoder des associations ; il n’est pas préconisé pour d’autres éléments plus spécifiques. L’emplacement de cet élément dans un document n'a aucune signification, à moins qu'il ne soit inclus dans un élément linkGrp ; dans ce cas il peut hériter de la valeur donnée à l’attribut type de l’élément linkGrp . |