<tag>

<tag> (tag) contains text of a complete start- or end-tag, possibly including attribute specifications, but excluding the opening and closing markup delimiter characters. [22. Documentation Elements]
Module tagdocs
Attributes
att.global
xml:id
n
xml:lang
att.global.rendition
style
rendition
att.global.linking
corresp
copyOf
next
prev
type indicates the type of XML tag intended
Derived from att.typed
Status Optional
Datatype teidata.enumerated
Legal values are:
start
a start-tag, with delimiters < and > is intended
end
an end-tag, with delimiters </ and > is intended
empty
an empty tag, with delimiters < and /> is intended
pi
a pi (processing instruction), with delimiters <? and ?> is intended
comment
a comment, with delimiters <!-- and --> is intended
ms
a marked-section, with delimiters <[CDATA[ and ]]> is intended
scheme supplies the name of the schema in which this tag is defined.
Status Optional
Datatype teidata.enumerated
Sample values include:
TEI
(text encoding initiative) This tag is defined as part of the TEI scheme. [Default]
DBK
(docbook) this tag is part of the Docbook scheme.
XX
(unknown) this tag is part of an unknown scheme.
Schematron
HTML
Member of
Contained by
May contain Character data only
Examples
Mark the start of each italicised phrase with a
        
<tag>hi rend="it"</tag> tag, and its end with a <tag type="end">hi</tag> tag.<tag type="comment">Example updated on 2008-04-05</tag>
Source Github

<elementSpec module="tagdocs" ident="tag">
   
<gloss>tag</gloss>
   
<desc>contains text of a complete start- or end-tag, possibly including attribute specifications,
but excluding the opening and closing markup delimiter characters.
</desc>
   
<classes>
      
<memberOf key="att.global"/>
      
<memberOf key="att.typed"/>
      
<memberOf key="model.phrase.xml"/>
   
</classes>
   
<content>
      
<textNode/>
   
</content>
   
<attList>
      
<attDef ident="type" mode="change" usage="opt">
         
<desc>indicates the type of XML tag intended</desc>
         
<datatype>
            
<dataRef key="teidata.enumerated"/>
         
</datatype>
         
<valList type="closed" mode="add">
            
<valItem ident="start">
               
<desc>a start-tag, with delimiters < and > is intended</desc>
            
</valItem>
            
<valItem ident="end">
               
<desc>an end-tag, with delimiters </ and > is intended</desc>
            
</valItem>
            
<valItem ident="empty">
               
<desc>an empty tag, with delimiters < and /> is intended</desc>
            
</valItem>
            
<valItem ident="pi">
               
<desc>a pi (processing instruction), with delimiters <? and ?> is intended</desc>
            
</valItem>
            
<valItem ident="comment">
               
<desc>a comment, with delimiters <!-- and --> is intended</desc>
            
</valItem>
            
<valItem ident="ms">
               
<desc>a marked-section, with delimiters <[CDATA[ and ]]> is intended</desc>
            
</valItem>
         
</valList>
      
</attDef>
      
<attDef ident="scheme" usage="opt">
         
<desc>supplies the name of the schema in which this tag is defined.</desc>
         
<datatype>
            
<dataRef key="teidata.enumerated"/>
         
</datatype>
         
<defaultVal>TEI</defaultVal>
         
<valList type="open">
            
<valItem ident="TEI">
               
<gloss>text encoding initiative</gloss>
               
<desc>This tag is defined as part of the TEI scheme.</desc>
            
</valItem>
            
<valItem ident="DBK">
               
<gloss>docbook</gloss>
               
<desc>this tag is part of the Docbook scheme.</desc>
            
</valItem>
            
<valItem ident="XX">
               
<gloss>unknown</gloss>
               
<desc>this tag is part of an unknown scheme.</desc>
            
</valItem>
            
<valItem ident="Schematron"/>
            
<valItem ident="HTML"/>
         
</valList>
      
</attDef>
   
</attList>
</elementSpec>