<valList>

<valList> (value list) contains one or more <valItem> elements defining possible values for an attribute. 22.4.5 Attribute List Specification
組件tagdocs — 22 Documentation Elements
屬性
modespecifies the effect of this declaration on its parent module.
狀態 非必備的
合法的值是:
add
this declaration is added to the current definitions [預設值]
delete
this declaration and all of its children are removed from the current setup
change
this declaration changes the declaration of the same name in the current definition
replace
this declaration replaces the declaration of the same name in the current definition
typespecifies the extensibility of the list of attribute values specified.
狀態 非必備的
合法的值是:
closed
only the values specified are permitted.
semi
(semi-open) all the values specified should be supported, but other values are legal and software should have appropriate fallback processing for them.
open
the values specified are sample values only. [預設值]
屬於attDef content
可包含
tagdocs: valItem
宣告
element valList
{
   att.global.attributes,
   attribute mode { "add" | "delete" | "change" | "replace" }?,
   attribute type { "closed" | "semi" | "open" }?,
   valItem+
}
例子
<valList type="closed">
 <valItem ident="req">
  <gloss>required</gloss>
 </valItem>
 <valItem ident="mwa">
  <gloss>mandatory when applicable</gloss>
 </valItem>
 <valItem ident="rec">
  <gloss>recommended</gloss>
 </valItem>
 <valItem ident="rwa">
  <gloss>recommended when applicable</gloss>
 </valItem>
 <valItem ident="opt">
  <gloss>optional</gloss>
 </valItem>
</valList>