Whole document tree
    

Whole document tree

Token

Token

Name

Token -- Unit of information in the context of lexical analysis

Content Model

  (#PCDATA | Replaceable | InlineGraphic)+

Attributes

This element has common and Role attributes.

Tag Minimization

Both the start- and end-tags are required for this element.

Description

Unit of information in the context of lexical analysis. It contains plain text, Replaceable, and InlineGraphic, and has common attributes.

Children

Token contains these elements: InlineGraphic, #PCDATA, Replaceable.

In some contexts, some of these elements may be invalid due to exclusions in parent elements.

Examples

<PARA>
Key terminology is tricky.  The KeyCap <KEYCAP>R</KEYCAP>
on your keyboard stands for both <TOKEN>R</TOKEN> and 
<TOKEN>r</TOKEN>.  A KeyCode is a computer's internal 
numeric representation of that point of input; the KeyCode 
for that <KEYCAP>R</KEYCAP> key could be <KEYCODE>36</KEYCODE> 
for all you know.  And a KeySym, or key symbol name, is not
necessarily the same thing as a Keycap.  For example, the Keysym for
the <KEYCAP>R</KEYCAP> key might be <KEYSYM>h</KEYSYM>.            
</PARA>