<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

This section is non-normative.

<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>

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/numcharref

The <numcharref> 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.