<valList>

<valList> (value list) contains one or more valItem elements defining possible values for an attribute. 22.4.5 Attribute List Specification
Modul tagdocs — 22 Documentation Elements
Neben global gültigen Attributen
mode specifies the effect of this declaration on its parent module.
Zustand Optional
Gültige Werte:
add
this declaration is added to the current definitions [Vorgabe]
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
type specifies the extensibility of the list of attribute values specified.
Zustand Optional
Gültige Werte:
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. [Vorgabe]
Verwendet von
Kann enthalten
tagdocs: valItem
Deklaration

<rng:element name="valList">
 <rng:ref name="att.global.attributes"/>
 <rng:optional>
  <rng:attribute name="mode" a: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="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,
   attribute mode { "add" | "delete" | "change" | "replace" }?,
   attribute type { "closed" | "semi" | "open" }?,
   valItem*
}
Beispiel
<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>