<param>
<param> provides a parameter for a model behaviour by supplying its name and an XPath expression identifying the location of its content. [23.5.4.5 Behaviours and their parameters] | |||||||||||||||
모듈 | tagdocs — Documentation Elements | ||||||||||||||
속성 |
|
||||||||||||||
에 의해 포함된 |
tagdocs: model
|
||||||||||||||
포함할 수 있다 | 공백 요소 | ||||||||||||||
주석 |
An implementation may require parameters other than those listed here, and is not required to follow this partial specification. The names and datatypes of the expected parameters should be documented in the corresponding customization using a paramSpec element. Literal strings provided in an XPath expression should be quoted. |
||||||||||||||
예 |
In this example, which will be processed for a choice element which has both sic and corr child elements, the default parameter will provide the value of the child corr element, and the alternate parameter will provide that of the child sic elements. If neither param element was supplied, both elements would still be available to an application, but the application would need to distinguish them for itself. |
||||||||||||||
예 | |||||||||||||||
Content model |
<content> |
||||||||||||||
선언 |
<rng:element name="param"> element param { 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, attribute name { "alternate" | "default" | "height" | "id" | "label" | "level" | "link" | "place" | "type" | "url" | "width" | teidata.enumerated }, attribute value { teidata.xpath }, empty } |