<refState>

<refState> (reference state) 標石要素の手法として定義されている標準的な参照の構成要素をひとつ示す. 2.3.5.3 Milestone Method 2.3.5 The Reference System Declaration
モジュールheader — 2 The TEI Header
属性
ed (edition) 当該標石要素が従う版を示す.
状態 任意
データ型
data.code
Any string of characters; usually a siglum conventionally used for the edition.
解説
If ed is not specified, then any milestone tag with an appropriate unit attribute will be selected.
unit 当該標石要素の場所で起こる変化の種類を示す.
状態 必須
データ型
data.enumerated
提案する値は以下の通り:
page
参照版中の改行.
column
段替え.
line
改行.
book
書籍,公文書等と呼ばれる単位.
poem
作品集における独立した詩.
canto
詩の編または主要なセクション.
stanza
詩,書籍,編における連.
act
芝居の幕.
scene
芝居の場.
section
各種のセクション.
absent
当該参照版にはない一節.
length 参照構成要素の固定長を示す.
状態 任意
データ型
data.count
Should be a positive integer; if no value is provided, the length is unlimited and goes to the next delimiter or to the end of the value.
解説
When constructing a reference, if the reference component found is of numeric type, the length is made up by inserting leading zeros; if it is not, by inserting trailing blanks. In either case, reference components are truncated if necessary at the right hand side.
When seeking a reference, the length indicates the number of characters which should be compared. Values longer than this will be regarded as matching, if they start correctly.
delim (delimiter) 参照構成要素の開始を表すデリミタを示す.
状態 任意
データ型
text
If a single space is used it is interpreted as whitespace.
当該モジュールを使用するものrefsDecl
下位空要素
宣言
element refState
{
   att.global.attributes,
   attribute ed { data.code }?,
   attribute unit
   {
      "page"
    | "column"
    | "line"
    | "book"
    | "poem"
    | "canto"
    | "stanza"
    | "act"
    | "scene"
    | "section"
    | "absent"
    | xsd:Name
   },
   attribute length { data.count }?,
   attribute delim { text }?,
   empty
}
<refState unit="bookdelim=":"/>
<refState unit="linelength="4"/>