DITA Resource Center

<numcharref>

Use the <numcharref> element to identify mentions of XML numeric character references, for example, "&#10;" or "&#x0a;". This element enables more precise semantic searching of the DITA source; it also enables distinct output formatting. The content of the <numcharref> element should be the numeric value without any leading or trailing characters added as style, for example, "10" or "x0a". 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/numcharref

Example

<p>Numeric character references represent characters from the Universal
Character Set (UCS) of Unicode. They are used to reference characters  that 
cannot easily be directly encoded in a document, such as a copyright 
symbol. When a markup-aware processor encounters a numeric  character 
reference, for example, <numcharref>225</numcharref>, it renders the 
reference as the Unicode character that it represents: a-acute.</p>

Attributes

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

Was this page helpful?