<link>
<link> 他の要素では上手く示せない,要素や一節間にある関連性やハイパーテキス トリンクを定義する. 16.1 Links | |||||||||
モジュール | linking — 16 Linking, Segmentation, and Alignment | ||||||||
グローバル属性の他 | att.pointing (@target, @evaluate) att.typed (@type, @subtype)
|
||||||||
当該モジュールを使用するもの | |||||||||
下位 | 空要素 | ||||||||
宣言 |
element link { att.global.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</sch:report> |
||||||||
Schematron |
<sch:report test="not(@target) and not(@targets)">You must supply either @target or @targets</sch:report> |
||||||||
Schematron |
<sch:assert test="contains(@target,' ')">You must supply at least two values for @target</sch:assert> |
||||||||
例 |
<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 targets="#R1 #R3 #R4"/> <link targets="#R2 #R5"/> </linkGrp> |
||||||||
解説 |
当該要素は,他の要素では示すことができない関連性を符号化する際にの み使われるべきである.
|