<valList>

<valList> (屬性值列表) 包含一個或多個元素valItem,以定義一個屬性可使用的屬性值。 [23.5.3 Attribute List Specification]<a href="https://translate.tei-c.org/translate.html?edit=valList.xml"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" aria-label="Translation out of date." viewBox="0 0 16 16" style="position:absolute; top:2px; right:2px; color:red"><title>Translation out of date.</title> <path d="M6.146 7.146a.5.5 0 0 1 .708 0L8 8.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 9l1.147 1.146a.5.5 0 0 1-.708.708L8 9.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 9 6.146 7.854a.5.5 0 0 1 0-.708z"></path> <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"></path></svg></a>
組件 tagdocs — Documentation Elements
屬性
type⚓︎ 標明該屬性值列表的延展性。
狀態 非必備的
資料類型 teidata.enumerated
合法的值是:
closed
僅允許標明的屬性值。
semi
(semi-open) 所有標明的屬性值應該維持有效;但其他屬性值亦為合法,且所使用的軟體對於它們應該具有適當的後備處理程序。
open
所標明的屬性值僅為樣本屬性值。 [預設值]
可包含在於
可包含
tagdocs: valItem
例子
<valList type="closed">
 <valItem ident="req">
  <gloss>必要性</gloss>
 </valItem>
 <valItem ident="rec">
  <gloss>建議性</gloss>
 </valItem>
 <valItem ident="opt">
  <gloss>選擇性</gloss>
 </valItem>
</valList>
Content model
<content>
 <elementRef key="valItemminOccurs="0"
  maxOccurs="unbounded"/>

</content>
宣告
<rng:element name="valList">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.combinable.attributes"/>
 <rng:ref name="att.deprecated.attributes"/>
 <rng:optional>
  <rng:attribute name="type"
   a:defaultValue="open">

   <rng:choice>
    <rng:value>closed</rng:value>
    <rng:value>semi</rng:value>
    <rng:value>open</rng:value>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:zeroOrMore>
  <rng:ref name="valItem"/>
 </rng:zeroOrMore>
</rng:element>
element valList
{
   att.global.attributes,
   att.global.analytic.attributes,
   att.global.change.attributes,
   att.global.facs.attributes,
   att.global.linking.attributes,
   att.global.rendition.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.combinable.attributes,
   att.deprecated.attributes,
   attribute type { "closed" | "semi" | "open" }?,
   valItem*
}