<xmlelement>

Use the <xmlelement> element to identify mentions of XML element types. This element enables more precise semantic searching of the DITA source; it also enables distinct formatting, such as surrounding the name of the element with angle brackets. The content of the <xmlelement> element should be the element type name without leading or trailing angle brackets. This element is part of the XML mention domain.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

+ topic/keyword markup-d/markupname xml-d/xmlelement

Example

This section is non-normative.

<p>Use the <xmlelement>uicontrol</xmlelement> (user interface control) 
element to indicate the names of buttons, entry fields, menu items, or 
other objects that enable a user to interact with a graphical user 
interface.</p>

Content model

(Text | <draft-comment> | <required-cleanup> | <text>)*

Not contained by any element.

Zero or more of the following
  • Text
  • <draft-comment>
  • <required-cleanup>
  • <text>

Not contained by any element.

Inheritance

+ topic/keyword markup-d/markupname xml-d/xmlelement

The <xmlelement> element is specialized from <markupname>. It is defined in the xml-domain module.

Attributes

The following attributes are available on this element: Universal attribute group, outputclass, and @keyref.