tag

tag — A component of XML (or SGML) markup

Synopsis

Content Model

tag ::=

Attributes

Common attributes and common linking attributes.

Additional attributes:

  • class (enumeration)
    • “attribute”
    • “attvalue”
    • “element”
    • “emptytag”
    • “endtag”
    • “genentity”
    • “numcharref”
    • “paramentity”
    • “pi”
    • “sgmlcomment”
    • “starttag”
    • “xmlpi”
  • namespace (anyURI)

Description

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

The tag element 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. A tag 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.

Attributes

Common attributes and common linking attributes.

class

FIXME:

Enumerated values:

attribute

FIXME:

attvalue

FIXME:

element

FIXME:

emptytag

FIXME:

endtag

FIXME:

genentity

FIXME:

numcharref

FIXME:

paramentity

FIXME:

pi

FIXME:

sgmlcomment

FIXME:

starttag

FIXME:

xmlpi

FIXME:

namespace

FIXME:

Children

The following elements occur in tag: text, alt, anchor, annotation, biblioref, indexterm (db.indexterm.endofrange), indexterm (db.indexterm.singular), indexterm (db.indexterm.startofrange), inlinemediaobject, link, olink, phrase (db._phrase), remark, replaceable, subscript, superscript, xref.

See Also

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

ChangeLog

This alpha reference page is $Revision: 1.4 $ published $Date: 2005/10/31 18:42:46 $.