sgmltag

$Revision: 1.3 $

$Date: 2002/06/12 11:18:36 $

sgmltag — A component of SGML markup

Synopsis

Mixed Content Model

sgmltag ::=
(#PCDATA|replaceable|inlinegraphic|inlinemediaobject|indexterm|
 beginpage)*

Attributes

Common attributes

Name

Type

Default

namespaceCDATANone
class
Enumeration:
attribute
attvalue
element
emptytag
endtag
genentity
localname
namespace
numcharref
paramentity
pi
prefix
sgmlcomment
starttag
xmlpi
None

Description

An SGMLTag identifies an SGML markup construct. The utility of this element is almost wholly constrained to books about SGML.

SGMLTag is sufficient for most XML constructs, which are identical to the corresponding SGML constructs, it but does not have any provisions for handling the special features of XML markup. A future version of DocBook will address this issue, probably by adding new Class values. In the meantime, you may get by by assigning a Role attribute for XML.

Processing expectations

Formatted inline. SGMLTag generates all the necessary punctuation before and after the construct it identifies. For example, it generates both the leading ampersand and the trailing semicolon when the Class is genentity.

Children

The following elements occur in sgmltag: beginpage, indexterm, inlinegraphic, inlinemediaobject, replaceable.

Attributes

class

Class identifies the specific SGML construct represented.

See Also

computeroutput, constant, literal, markup, option, optional, parameter, prompt, replaceable, userinput, varname.

Examples

For examples, see collab, link, simplelist, wordasword, xref.