<textentity>

A text entity is an XML construction that resolves to another value when the document is parsed.

Usage information

The content of the <textentity> element should be the entity name without the ampersand and semi-colon delimiters, for example, hi-d-att.

Rendering expectations

The contents of the <textentity> element is typically rendered with a leading ampersand (&) and a trailing semi-colon (;).

Specialization hierarchy

The <textentity> element is specialized from <markupname>; the <textentity> 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> )*

Zero or more
  • 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 <textentity> element is used to tag the token that the @deliveryTarget attribute domain contributes to the @specializations attribute:

<p>The <textentity>deliveryTargetAtt-d-att</textentity> entity holds the contribution for the 
<xmlatt>specializations</xmlatt> attribute.</p>