sgmltag
Prev | DocBook Element Reference | Next

This is an alpha version of this book.

# sgmltag

## Name

sgmltag — A component of SGML markup

##

# Synopsis

### Mixed Content Model

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

### Attributes

Common attributes

Name | Type | Default
class | Enumeration:
attribute
attvalue
element
emptytag
endtag
genentity
numcharref
paramentity
pi
sgmlcomment
starttag
xmlpi
| None

### Parameter Entities

The following parameter entities contain sgmltag:

Parameter Entities
`%cptr.char.mix;` | `%ndxterm.char.mix;` | `%para.char.mix;`
`%refinline.char.mix;` | `%refname.char.mix;` | `%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`.

### Parents

These elements contain sgmltag: `application`, `attribution`, `bibliomisc`, `bridgehead`, `citation`, `citetitle`, `classsynopsisinfo`, `command`, `computeroutput`, `emphasis`, `entry`, `foreignphrase`, `funcparams`, `funcsynopsisinfo`, `function`, `glosssee`, `glossseealso`, `glossterm`, `lineannotation`, `link`, `literal`, `literallayout`, `lotentry`, `member`, `msgaud`, `olink`, `optional`, `para`, `phrase`, `primary`, `primaryie`, `productname`, `programlisting`, `quote`, `refdescriptor`, `refentrytitle`, `refname`, `refpurpose`, `remark`, `screen`, `screeninfo`, `secondary`, `secondaryie`, `see`, `seealso`, `seealsoie`, `seeie`, `seg`, `segtitle`, `simpara`, `subtitle`, `synopsis`, `term`, `tertiary`, `tertiaryie`, `title`, `titleabbrev`, `tocback`, `tocentry`, `tocfront`, `trademark`, `ulink`, `userinput`.

### 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`, `literal`, `refentry`, `simplelist`, `wordasword`, `xref` .

Prev | Home | Next
setinfo | Up | shortaffil

Copyright © 1999, 2000, 2001 O'Reilly & Associates, Inc.