att.global.analytic
att.global.analytic provides additional global attributes for associating specific analyses or interpretations
with appropriate portions of a text. [17.2. Global Attributes for Simple Analyses 17.3. Spans and Interpretations]
Module | analysis | ||||||||
Members | item l p | ||||||||
Attributes | Attributes
|
||||||||
Schematron |
ana values should all be distinct
<sch:rule context="*[@ana]"> <sch:let name="values" value="tokenize(@ana,'\s+')"/> <sch:let name="dups" value="for $v in $values return if (count(index-of($values, $v)) gt 1) then $v else ()"/> <sch:assert test="empty($dups)">ERROR: Do not repeat @ana values (duplicate values found:<sch:value-of select="string-join(distinct-values($dups),', ')"/>)</sch:assert> </sch:rule> |
||||||||
Source | Github
<classSpec rend="change" predeclare="true" module="analysis" xml:id="CLANA" type="atts" ident="att.global.analytic"> <desc>provides additional global attributes for associating specific analyses or interpretations with appropriate portions of a text.</desc> <classes/> <attList> <attDef ident="ana" usage="opt"> <gloss>analysis</gloss> <desc>indicates one or more elements containing interpretations of the element on which the <att>ana</att> attribute appears.</desc> <datatype minOccurs="1" maxOccurs="unbounded"> <dataRef key="limdata.ana"/> </datatype> </attDef> </attList> </classSpec> |