# `<textentity>`

Use the `<textentity>` element to identify mentions of XML text entities, for example, "&xml-d-att;". This element enables more precise semantic searching of the DITA source; it also enables distinct formatting, such as adding an ampersand (&) as a leading character and a semi-colon (;) as a trailing character. The content of the `<textentity>` element should be the entity name without the ampersand and semi-colon delimiters. This element is part of the XML mention domain.

Category: XML mention domain