<markupname>
The <markupname>
element identifies
named markup components, for example, elements or attributes in HTML and SGML, named groups in XSD schemas, and
named patterns in RELAX NG schemas.
Usage information
The <markupname>
element serves as the
specialization basis for the elements in the XML mention domain.
When the XML mention domain is present, use its more specific
elements instead of <markupname>
if
appropriate.
Specialization hierarchy
The <markupname>
element is specialized from
<keyword>
. It is defined in the markup domain module.
Content model
(Text |
<draft-comment>
|
<required-cleanup>
|
<text>
)*
- Text
-
<draft-comment>
-
<required-cleanup>
-
<text>
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
@keyref
is@data-keyref
Example
This section is non-normative.
The following code sample shows how the
<markupname>
element can be used to tag an
attribute group:
The <markupname>p.attributes</markupname> attribute group defines
the allowed attributes for the <xmlelement>p</xmlelement> element.