Search the Catalog
DocBook: The Definitive Guide

DocBook: The Definitive Guide

By Norman Walsh & Leonard Muellner
1st Edition October 1999
1-56592-580-7, Order Number: 5807
652 pages, $36.95 , Includes CD-ROM

SGMLTag

Name

SGMLTag -- A component of SGML markup

Synopsis

Mixed Content Model

SGMLTag ::=
((#PCDATA|Replaceable|InlineGraphic|InlineMediaObject|IndexTerm)+)

Attributes

Common attributes

Name

Type

Default

Class

Enumeration:

Attribute
AttValue
Element
EndTag
GenEntity
NumCharRef
ParamEntity
PI
SGMLComment
StartTag

None

Tag Minimization

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

Parameter Entities

%cptr.char.mix;%ndxterm.char.mix;%para.char.mix;
%programlisting.content;%refinline.char.mix;%refname.char.mix;
%screen.content;%tbl.entry.mdl;%tech.char.class;
%title.char.mix;

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: IndexTerm, InlineGraphic, InlineMediaObject, Replaceable.

In some contexts, the following elements are allowed anywhere: BeginPage, IndexTerm.

In some contexts, the following elements are excluded: IndexTerm.

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, Literal, RefEntry, SimpleList, WordAsWord, XRef.

Back to: DocBook: The Definitive Guide


oreilly.com Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts
International | About O'Reilly | Affiliated Companies | Privacy Policy

© 2001, O'Reilly & Associates, Inc.