<eg>
| <eg> (example) contains any kind of illustrative example. 22.4.4 Element Specifications 22.4.5 Attribute List Specification | |
| Module | tagdocs — 22 Documentation Elements |
| Attributes | att.xmlspace (@xml:space) |
| Used by | exemplum model.egLike |
| May contain | Character data only |
| Declaration |
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. |
