<xmlpi>
The <xmlpi>
element identifies mentions of processing
instruction names.
Specialization hierarchy
The <xmlpi>
element is specialized from
<markupname>
; the
<xmlpi>
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>
)*
- 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 an
<xmlpi>
element can be used to tag the
name of a processing instruction:
<p>While DITA does not define any processing instructions, applications might
use some DocBook processing instructions, such as <xmlpi>dbhtml_bgcolor</xmlpi>.</p>