<paramSpec>

<paramSpec> supplies specification for one parameter of a model behaviour [22.5.4.8 Defining a processing model]
組件 tagdocs — Documentation Elements
屬性
可包含在於
tagdocs: paramList
可包含
core: desc gloss
tagdocs: equiv

Where a model behaviour uses more than one parameter, individual paramSpec elements should be grouped together using a paramList element, as above. Parameter specifications are provided within the valItem used to define a particular behaviour, which forms part of the specification of a model element's behaviour attribute. In the example above, the behaviour link has two parameters: content and link.

Using a desc element within a paramSpec is optional but recommended practice.

例子
<valItem ident="link">
 <desc>create a hyperlink</desc>
 <paramList>
  <paramSpec ident="content">
   <desc>supplies the location of some content describing the link</desc>
  </paramSpec>
  <paramSpec ident="link">
   <desc>supplies the location of the intended URL</desc>
  </paramSpec>
 </paramList>
</valItem>
Content model
<content>
 <alternate minOccurs="0"
  maxOccurs="unbounded">

  <classRef key="model.identEquiv"/>
  <classRef key="model.descLike"/>
 </alternate>
</content>
宣告
<rng:element name="paramSpec">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.identified.attributes"/>
 <rng:ref name="att.combinable.attributes"/>
 <rng:ref name="att.deprecated.attributes"/>
 <rng:zeroOrMore>
  <rng:choice>
   <rng:ref name="model.identEquiv"/>
   <rng:ref name="model.descLike"/>
  </rng:choice>
 </rng:zeroOrMore>
</rng:element>
element paramSpec
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.identified.attributes,
   att.combinable.attributes,
   att.deprecated.attributes,
   ( model.identEquiv | model.descLike )*
}