tag — A component of XML (or SGML) markup
tag ::=
(text | phrase
db._phrase | replaceable
| Graphic inlines | Indexing inlines | Linking inlines | Ubiquitous inlines)*
Common attributes and common linking attributes.
Additional attributes:
class
(enumeration) = “attribute” | “attvalue” | “element” |
“emptytag” | “endtag” | “genentity” | “localname” | “namespace” |
“numcharref” | “paramentity” | “pi” | “prefix” | “comment” |
“starttag” | “xmlpi”
namespace
(anyURI)
A tag
identifies an XML or
SGML markup construct. The utility of this element is
almost wholly constrained to books about markup.
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
.
Common attributes and common linking attributes.
Identifies the nature of the tag content
Enumerated values: | |
---|---|
“attribute” | An attribute |
“attvalue” | An attribute value |
“element” | An element |
“emptytag” | An empty element tag |
“endtag” | An end tag |
“genentity” | A general entity |
“localname” | The local name part of a qualified name |
“namespace” | A namespace |
“numcharref” | A numeric character reference |
“paramentity” | A parameter entity |
“pi” | A processing instruction |
“prefix” | The prefix part of a qualified name |
“comment” | An SGML comment |
“starttag” | A start tag |
“xmlpi” | An XML processing instruction |
Identifies the namespace of the tag content