<valList>

<valList> (value list) contains one or more valItem elements defining possible values for an attribute. 22.4.5 Attribute List Specification
Moduletagdocs — 22 Documentation Elements
AttributesIn addition to global attributes
modespecifies the effect of this declaration on its parent module.
Status Optional
Legal values are:
add
this declaration is added to the current definitions [Default]
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.
Status Optional
Legal values are:
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. [Default]
Used byattDef content
May contain
tagdocs: valItem
Declaration

<rng:element name="valList">
<rng:ref name="att.global.attributes"/>
<rng:optional>
 <rng:attribute name="modea:defaultValue="add">
  <rng:choice>
   <rng:value>add</rng:value>
   <rng:value>delete</rng:value>
   <rng:value>change</rng:value>
   <rng:value>replace</rng:value>
  </rng:choice>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:attribute name="typea: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:oneOrMore>
 <rng:ref name="valItem"/>
</rng:oneOrMore>
</rng:element>
element valList
{
   att.global.attributes,
   attribute mode { "add" | "delete" | "change" | "replace" }?,
   attribute type { "closed" | "semi" | "open" }?,
   valItem+
}
Example
<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>