<eg>

<eg> (example) contains any kind of illustrative example. 22.4.4 Element Specifications 22.4.5 Attribute List Specification
Moduletagdocs — 22 Documentation Elements
Attributes att.xmlspace (@xml:space)
Used by
May containCharacter data only
Declaration

<rng:element name="eg">
<rng:ref name="att.global.attributes"/>
<rng:ref name="att.xmlspace.attributes"/>
<rng:text/>
</rng:element>
element eg { att.global.attributes, att.xmlspace.attributes, text }
Example
<p>The
<gi>term</gi> element is declared using the following syntax:
<eg><![CDATA[<!ELEMENT term (%phrase.content;)>]]</eg>
</p>
Note
If the example contains material in XML markup, either it must be enclosed within a CDATA marked section, or character entity references must be used to represent the markup delimiters. If the example contains well-formed XML, it should be marked using the more specific egXML element.