<param>
The <param> (parameter) element specifies a set of values that might be required by an <object> at runtime.
Any number of <param> elements might
appear in the content of an <object> in any order, but must be placed at
the start of the content of the enclosing object. This element is comparable to the XHMTL
<param> element, and its attributes' semantics derive from their HTML
definitions. For example, the @type attribute differs from the
@type attribute on many other DITA elements.
Content models
See appendix for information about this element in OASIS document type shells.
Inheritance
- topic/param
Example
See object.
Attributes
The following attributes are available on this element: Universal attribute group and the attributes defined below.
@name(REQUIRED)- The name of the parameter.
@value- Specifies the value of a run-time parameter that is specified by the
@nameattribute. @valuetype- Specifies the type of the
@valueattribute. Allowed values are:- data
- A value of data means that the value will be evaluated and passed to the object's implementation as a string.
- ref
- A value of ref indicates that the value of the
@valueattribute is a URL that designates a resource where run-time values are stored. This allows support tools to identify URLs that are given as parameters. - object
- A value of object indicates that the value of
@valuetypeis an identifier that refers to an object declaration in the document. The identifier must be the value of the ID attribute set for the declared object element. - -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.
@type- This attribute specifies for a user agent the type of values that will be found at the URI
designated by
@value. Note that this differs from the@typeattribute on many other DITA elements.- When
@valuetypeis set to "ref", this attribute directly specifies the content type of the resource designated by@value. - Otherwise, if
@typeis specified and@keyrefis specified and resolvable, this attribute specifies the content type of the resource designated by@keyref. - Otherwise, if
@typeis not specified and@keyrefis specified and is resolvable, the effective type value specified for the key that is named by the@keyrefattribute is used as the value of the@typeattribute.
- When
@keyref- Key reference to the thing the parameter references. If
@valuetypeis specified but is not set to "ref", this attribute is ignored. When@valuetypeis not specified and@keyrefis specified, it implies a setting ofvaluetype="ref". When@keyrefis specified and the effective value of@valuetypeis "ref":- When the key specified by
@keyrefis resolvable and has an associated URI, that URI is used as the value of this element (overriding@value, if that is specified). - When the key specified by
@keyrefis resolvable and has no associated resource (only link text), the@keyrefattribute is considered to be unresolvable for this element. If@valueis specified, it is used as fallback. - When the key specified by
@keyrefis not resolvable, the value of the@valueattribute is used as a fallback target for the<param>element.
- When the key specified by