<refState>

<refState> (分界狀態) 標明分界方法所定義的權威參照標準裡其中一個組件。 [2.3.5.3 Milestone Method 2.3.5 The Reference System Declaration]
組件header — 2 The TEI Header
屬性att.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) att.sourced (@ed)
unitindicates what kind of state is changing at this milestone.
狀態 必備的
資料類型

<rng:ref name="data.enumerated"/>
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.
狀態 非必備的
資料類型

<rng:ref name="data.count"/>
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.
delim (delimiter) supplies a delimiting string following the reference component.
狀態 非必備的
資料類型

<rng:text/>
text
If a single space is used it is interpreted as whitespace.
屬於
可包含在於
header: refsDecl
可包含空白元素
宣告

<rng:element name="refState">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.sourced.attributes"/>
 <rng:attribute name="unit">
  <rng:choice>
   <rng:value>page</rng:value>
   <rng:value>column</rng:value>
   <rng:value>line</rng:value>
   <rng:value>book</rng:value>
   <rng:value>poem</rng:value>
   <rng:value>canto</rng:value>
   <rng:value>stanza</rng:value>
   <rng:value>act</rng:value>
   <rng:value>scene</rng:value>
   <rng:value>section</rng:value>
   <rng:value>absent</rng:value>
   <rng:data type="Name"/>
  </rng:choice>
 </rng:attribute>
 <rng:optional>
  <rng:attribute name="length">
   <rng:ref name="data.count"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="delim">
   <rng:text/>
  </rng:attribute>
 </rng:optional>
 <rng:empty/>
</rng:element>
element refState
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.sourced.attributes,
   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="book" delim=":"/>
<refState unit="line" length="4"/>