<xmlelement>

An XML element is the basic building block of an XML document. It can contain text, other elements, processing instructions, and more.

The content of the <xmlelement> element should be the element type name without leading or trailing angle brackets.

The contents of the <xmlelement> element is typically rendered with leading (<) and trailing (>) angle brackets.

The <xmlelement> element is specialized from <markupname>; the <xmlelement> 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.

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

Contained by

<alt> , <author> , <b> , <booklibrary> , <booknumber> , <bookpartno> , <booktitlealt> , <brand> , <category> , <change-request-id> , <change-request-system> , <change-revisionid> , <change-summary> , <cite> , <codeblock> , <codeph> , <component> , <consequence> , <coords> , <copyrholder> , <data> , <day> , <dd> , <ddhd> , <delim> , <desc> , <div> , <draft-comment> , <dt> , <dthd> , <edition> , <em> , <entry> , <example> , <fallback> , <featnum> , <figgroup> , <filepath> , <fn> , <fragref> , <howtoavoid> , <hwcontrol> , <i> , <index-see> , <index-see-also> , <indexterm> , <isbn> , <keytext> , <keywords> , <li> , <line-through> , <lines> , <linktitle> , <lq> , <mainbooktitle> , <month> , <msgblock> , <msgph> , <navtitle> , <note> , <oper> , <organization> , <overline> , <p> , <partno> , <pd> , <person> , <ph> , <platform> , <pre> , <printlocation> , <prodname> , <prognum> , <pt> , <publisher> , <q> , <repsep> , <revisionid> , <screen> , <searchtitle> , <sep> , <series> , <shortdesc> , <sli> , <sort-as> , <source> , <stentry> , <strong> , <sub> , <subtitle> , <summary> , <sup> , <synnote> , <systemoutput> , <title> , <titlealt> , <titlehint> , <tt> , <typeofhazard> , <u> , <uicontrol> , <userinput> , <var> , <volume> , <xref> , <year>

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

Contained by

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

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

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.

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 <xmlelement> element can be used to tag the <uicontrol> element from the user-interface domain.

<p>Use the <xmlelement>uicontrol</xmlelement> 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>