<refState>

<refState> (reference state) specifies one component of a canonical reference defined by the milestone method. [2.3.6.3. Milestone Method 2.3.6. The Reference System Declaration]
Moduleheader
Attributes
lengthspecifies the fixed length of the reference component.
Status Optional
Datatype teidata.count
Note

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. 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.
Status Optional
Datatype teidata.text
Contained by
header: refsDecl
May containEmpty element
Example
<refState unit="bookdelim=":"/>
<refState unit="linelength="4"/>
Content model
<content>
 <empty/>
</content>
Schema Declaration
element refState
{
   tei_att.global.attributes,
   tei_att.milestoneUnit.attributes,
   tei_att.edition.attributes,
   attribute length { teidata.count }?,
   attribute delim { teidata.text }?,
   empty
}