<refState>

<refState> (分界狀態) 標明分界方法所定義的權威參照標準裡其中一個組件。 2.3.5.3 Milestone Method 2.3.5 The Reference System Declaration
組件header — 2 The TEI Header
屬性
ed (edition) indicates which edition or version the milestone applies to.
狀態 非必備的
資料類型
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.
unitindicates what kind of state is changing at this milestone.
狀態 必備的
資料類型
data.enumerated
被推薦的值包含:
page
page breaks in the reference edition.
column
column breaks.
line
line breaks.
book
any units termed book, liber, etc.
poem
individual poems in a collection.
canto
cantos or other major sections of a poem.
stanza
stanzas within a poem, book, or canto.
act
acts within a play.
scene
scenes within a play or act.
section
sections of any kind.
absent
passages not present in the reference edition.
lengthspecifies the fixed length of the reference component.
狀態 非必備的
資料類型
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) supplies a delimiting string following the reference component.
狀態 非必備的
資料類型
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"/>