<parameterentity>
A parameter entity is a syntactic construction that names a collection of elements, attributes, and attribute values. This enables reuse of the collection in grammar files.
Usage information
The content of the <parameterentity> element should be the entity
name without a leading percentage sign or trailing semi-colon, for example,
keyword.content.
Rendering expectations
The contents of the <parameterentity>
element is typically rendered with a leading percentage sign (%)
and a trailing semi-colon (;).
Specialization hierarchy
The <parameterentity> element is
specialized from <markupname>; the
<parameterentity> element is defined in
the XML-mention domain module. The
<markupname> element is specialized from
<keyword>, and the
<markupname> element is defined in the
markup-name domain module.
Content model
(Text | <draft-comment> | <required-cleanup> | <text>)*
Not contained by any element.
- Text
<draft-comment><required-cleanup><text>
Not contained by any element.
Inheritance
+ topic/keyword markup-d/markupname xml-d/parameterentity
The <parameterentity> element is specialized from <markupname>. It is defined in the xml-domain module.
Attributes
The following attributes are
available on this element: universal
attributes and @keyref.
The following attributes are available on this element: universal attributes and the attributes defined below.
@keyref- Specifies a key
name that acts as a redirectable reference based on a key
definition within a map. See STUB CONTENT for information on using
this attribute.
For HDITA, the equivalent of
@keyrefis@data-keyref
Examples
This section is non-normative.
The following code sample shows how the
<parameterentity> element can be used to
tag the name of the %xml-d-dec;
parameter entity:
<p>To include the XML-mention domain in a DTD document-type shell, declare and
reference the <parameterentity>xml-d-dec</parameterentity> parameter entity.</p>