att.written
att.written provides attributes to indicate the hand in which the content of an element was written
in the source being transcribed. [1.3.1. Attribute Classes]
Module | tei | ||||||
Members | att.damaged [damage] NB ab add closer del div figure fw head hi label note noteGrp opener p postscript salute signed text trailer zone | ||||||
Attributes |
|
||||||
Schematron |
All hand attributes should point
to a locally defined hand.
<sch:rule context="tei:*[@hand]"> <sch:let name="hand" value="@hand"/> <sch:let name="ptrs" value="tokenize($hand,'\s+')"/> <sch:let name="handNotes" value="ancestor::tei:TEI//tei:handNote"/> <sch:let name="unmatched" value="for $p in $ptrs return if ($handNotes[@xml:id = substring-after($p,'#')]) then () else $p"/> <sch:assert test="every $p in $ptrs satisfies starts-with($p,'#')">ERROR: All @hand values must start with a # to point to a locally defined handNote.</sch:assert> <sch:assert test="empty($unmatched)">ERROR: Cannot find associated handNotes for<sch:value-of select="string-join($unmatched, ' ')"/> </sch:assert> </sch:rule> |
||||||
Source | Github
<classSpec rend="change" module="tei" type="atts" ident="att.written"> <desc>provides attributes to indicate the hand in which the content of an element was written in the source being transcribed.</desc> <classes/> <attList> <attDef ident="hand" usage="opt"> <desc>points to a <gi>handNote</gi> element describing the hand considered responsible for the content of the element concerned.</desc> <!-- <desc versionDate="2016-02-19" xml:lang="en">points to a <gi>handNote</gi> element describing the hand considered responsible for the textual content of the element concerned.</desc> --> <!-- <desc versionDate="2013-11-22" xml:lang="en">in the case of damage (deliberate defacement, inking out, etc.) assignable to a distinct hand, signifies the hand responsible for the damage by pointing to one of the hand identifiers declared in the document header (see section <ptr target="#PHDH"/>).</desc> <desc versionDate="2005-10-10" xml:lang="en">indicates the hand responsible for a particular reading in the witness.</desc> --> <!-- <valDesc>must be one of the hand identifiers declared in the document header (see section <ptr target="#PHDH"/>).</valDesc> <remarks versionDate="2005-10-10" xml:lang="en"> <p>This attribute is only available within an apparatus gathering variant readings in the transcription of an individual witness. It may not occur in an apparatus gathering readings from different witnesses. </p> </remarks> --> <!-- <desc versionDate="2005-01-14" xml:lang="en">in the case of text omitted from the transcription because of deliberate deletion by an identifiable hand, indicates the hand which made the deletion.</desc> <desc versionDate="2005-01-14" xml:lang="en">Where the difficulty in transcription arises from action (partial deletion, etc.) assignable to an identifiable hand, signifies the hand responsible for the action.</desc> --> <datatype> <dataRef key="teidata.pointer"/> </datatype> <!-- <valDesc>must refer to a <gi>handNote</gi> element, typically declared in the document header (see section <ptr target="#PHDH"/>).</valDesc> <valDesc versionDate="2009-05-28" xml:lang="fr">doit faire référence à un élément <gi>handNote</gi>, en général déclaré dans l'en-tête TEI (voir la section <ptr target="#PHDH"/>).</valDesc> --> <!-- shdnt there be a constraintspec for this? LB 2013-12-09 --> </attDef> </attList> </classSpec> |