The attribute pos
lists one items, specified through Arabic numerals and the keyword 'last' or 'last-X' (where X is a valid number).
Examples: '1', 'last', 'last-3 - last-1'
For more see the section called “@pos and @val”
The attribute pos
lists one or more items, specified through Arabic numerals and the keyword 'last' or 'last-X' (where X is a valid number), joined with commas or hyphens.
Examples: '1', 'last', 'last-3 - last-1', '1, 3, 5, 7 - 11, last-8, last'
For more see the section called “@pos and @val”
Formal Definition
string (pattern ((last|max)|((last|max)-\d+)|(\d+))|.*\?\?\?.*)string (pattern ((last|max|all|\*)|((last|max)-\d+)|(\d+))(\s*-\s*(((last|max))|((last|max)-\d+)|(\d+)))?(\s*[, ]\s*(((last|max))|((last|max)-\d+)|(\d+))(\s+-\s+(((last|max))|((last|max)-\d+)|(\d+)))?)*|.*\?\?\?.*)
Defined at:
TAN-class-2.rng
Used by: ~tok-single-selector-attributes
, ~tok-mult-selector-attributes
Caution | |
---|---|
Sequences may not include values less than 1. |
Caution | |
---|---|
Sequences may not include values greater than the maximum allowed. |
Caution | |
---|---|
Ranges in sequences must go from a lesser value to a greater. |
Caution | |
---|---|
Every token must be locatable in every cited ref in every source. |
Caution | |
---|---|
Ranges consist of exactly two values separated by a hyphen. |
Example 8.54. @pos
<TAN-A-div TAN-version="2018" id="tag:parkj@textalign.net,2015:ar.cat.tan-a-div:claims"> ......... <body claimant="lmp"> ......... <claim subject="dexippus porphyry"> <claim subject="andronicus boethus" adverb="perhaps" verb="omits"> <object src="grc"> <tok ref="1 a 2" pos="3-4"/> </object> </claim> </claim> <claim subject="herminus comm-omnes" verb="agrees"> <locus src="grc"> <tok ref="1 a 2" pos="3-4"/> </locus> </claim> ......... <claim subject="B" verb="replaces"> <locus src="grc"> <tok ref="1 a 5" pos="1-2"/> </locus> ......... </claim> <claim subject="Λ" adverb="perhaps" verb="replaces"> <locus src="grc"> <tok ref="1 a 5" pos="1-2"/> </locus> ......... </claim> <claim subject="π α φ ο" verb="agrees"> <locus src="grc"> <tok ref="1 a 5" pos="1-2"/> </locus> </claim> ......... </body> </TAN-A-div>
Note | |
---|---|
Taken from ar.cat.tan-a-div.claims |