3.1 Front and Back Matter

  3.1.1 DTD’s
<TEI.2>  
    <teiHeader> [ TEI Header information ]  </teiHeader>  
    <text>  
        <front> [ front matter ... ]   </front>  
        <body>  [ body of text ... ]   </body>  
        <back>  [ back matter ...  ]   </back>  
    </text>  
</TEI.2>

The front and back elements are optional.

<..tex4ht wrapper..>
 \Configure{HTML}{}{}
 \Configure{HEAD}{\bgroup \Configure{TITLE}{}{}}{\egroup}
 \Configure{BODY}{}{}
 \Configure{TITLE+} {}
 \ifx \a:TITLE\:UnDef
    \Configure{TITLE}{\Protect\IgnorePar
       \HCode{<title>}}{\HCode{</title>\Hnewline}}
 \fi
-_-_-

<..article prologue..>
 \def\:gobbleM#1->{}
 \Configure{BODY}
    {<.tex4ht sig.>%
     \HCode{<article <.xml name spaces.> >}%
     \a:TITLE\bgroup \:TITLE: \c:TITLE \egroup \b:TITLE
     \par\ShowPar
    }
    {\IgnorePar\EndP\HCode{</article>}}
 <.tex4ht log sig.>
-_-_-

<..plain prologue..>
 \def\:gobbleM#1->{}
 \Configure{BODY}
    {<.tex4ht sig.>%
     \HCode{<article <.xml name spaces.> >}%
     \par\ShowPar}
    {\IgnorePar\EndP\HCode{</article>}}
 <.tex4ht log sig.>
-_-_-

<..report prologue..>
 \def\:gobbleM#1->{}
 \Configure{BODY}
    {<.tex4ht sig.>%
     \HCode{<article role="report" <.xml name spaces.> >}%
     \a:TITLE\bgroup \:TITLE: \c:TITLE \egroup \b:TITLE
     \par\ShowPar}
    {\IgnorePar\EndP\HCode{</article>}}
 <.tex4ht log sig.>
-_-_-

<..book prologue..>
 \def\:gobbleM#1->{}
 \Configure{BODY}
    {<.tex4ht sig.>%
     \HCode{<article role="book" <.xml name spaces.> >}%
     \a:TITLE\bgroup \:TITLE: \c:TITLE \egroup \b:TITLE
     \par\ShowPar
    }
    {\IgnorePar\EndP\HCode{</article>}}
 <.tex4ht log sig.>
-_-_-

<..tex4ht sig..>
 \HCode{\Hnewline<!--translated from \jobname.tex, on \:today,
      \Hnewline by TeX4ht  (http://www.cse.ohio-state.edu/\string
        ~gurari/TeX4ht/)
      \expandafter\:gobbleM\meaning\Preamble\space-->\Hnewline}
 \:CheckOption{-xtpipes} \if:Option
    \Log:Note{Use the ‘-xtpipes’ command line option to
              avoid xtpipes post processing}
 \else
    \HCode{<?xtpipes file="docbook.4xt" ?>\Hnewline}
 \fi
-_-_-

<..tex4ht log sig..>
 \immediate\write-1{TeX4ht package options:
     \expandafter\:gobbleM\meaning\Preamble}
-_-_-

3.1.1 DTD’s

<..xml name spaces..>
 xmlns="http://docbook.org/ns/docbook"                        \Hnewline
 xmlns:xlink="http://www.w3.org/1999/xlink"                   \Hnewline
 version="5.0"                                                \Hnewline
-_-_-

 
 xmlns="http://relaxng.org/ns/structure/1.0"                  \Hnewline
 xmlns:svg="http://www.w3.org/2000/svg"                       \Hnewline
 xmlns:s="http://www.ascc.net/xml/schematron"                 \Hnewline
 xmlns:rng="http://relaxng.org/ns/structure/1.0"              \Hnewline
 xmlns:mml="http://www.w3.org/1998/Math/MathML"               \Hnewline
 xmlns:html="http://www.w3.org/1999/xhtml"                    \Hnewline
 xmlns:db="http://docbook.org/ns/docbook"                     \Hnewline
 xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/"         \Hnewline
 xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"\Hnewline
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"                 \Hnewline
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"        \Hnewline

<..article prologue..>+
 \Configure{VERSION}
   {\HCode{<?xml version="1.0"?>\Hnewline}}
 \Configure{DOCTYPE}
    {\HCode{<!DOCTYPE article <.doctype 5.0.> >\Hnewline }}
-_-_-

<..doctype 5.0..>
 PUBLIC "-//OASIS//DTD DocBook V5.0//<.dtd lang.>"\Hnewline
        "http://www.oasis-open.org/docbook/xml/5.0/docbook.dtd"
-_-_-

<..plain prologue..>+
 \Configure{VERSION}
    {\HCode{<?xml version="1.0"?>\Hnewline}}
 \Configure{DOCTYPE}
    {\HCode{<!DOCTYPE article <.doctype 5.0.> >\Hnewline }}
-_-_-

<..report prologue..>+
 \Configure{VERSION}
    {\HCode{<?xml version="1.0"?>\Hnewline}}
 \Configure{DOCTYPE}
    {\HCode{<!DOCTYPE article <.doctype 5.0.> >\Hnewline }}
-_-_-

<..book prologue..>+
 \Configure{VERSION}
    {\HCode{<?xml version="1.0"?>\Hnewline}}
 \Configure{DOCTYPE}
    {\HCode{<!DOCTYPE article <.doctype 5.0.> >\Hnewline }}
-_-_-

<..docbook dtd..>
 <!ENTITY \% docbook.dtd PUBLIC\Hnewline
     "-//OASIS//DTD DocBook XML V4.2CR1//<.dtd lang.>"\Hnewline
        "http://www.oasis-open.org/docbook/xml/4.2CR1/docbookx.dtd">
 \Hnewline \%docbook.dtd; \Hnewline
-_-_-

<..dtd lang..>
 \expandafter
 \ifx \csname a:dtd-lang\endcsname\relax EN\else
   \csname a:dtd-lang\endcsname
 \fi
-_-_-

<..configure docbook-mml article..>
 \Configure{VERSION}
    {\HCode{<?xml version="1.0"?>\Hnewline}}
 \Configure{DOCTYPE}
    {\HCode{<!DOCTYPE article <.doctype 5.0.> >\Hnewline }}
-_-_-

<..configure docbook-mml report..>
 \Configure{VERSION}
    {\HCode{<?xml version="1.0"?>\Hnewline}}
 \Configure{DOCTYPE}
    {\HCode{<!DOCTYPE article <.doctype 5.0.> >\Hnewline }}
-_-_-

<..configure docbook-mml book..>
 \Configure{VERSION}
    {\HCode{<?xml version="1.0"?>\Hnewline}}
 \Configure{DOCTYPE}
    {\HCode{<!DOCTYPE article <.doctype 5.0.> >\Hnewline }}
-_-_-

<..configure docbook-mml scrbook..>
 \Configure{VERSION}
    {\HCode{<?xml version="1.0"?>\Hnewline}}
 \Configure{DOCTYPE}
    {\HCode{<!DOCTYPE article <.doctype 5.0.> >\Hnewline }}
-_-_-

<..configure docbook-mml plain..>
 \Configure{VERSION}
    {\HCode{<?xml version="1.0"?>\Hnewline}}
 \Configure{DOCTYPE}
    {\HCode{<!DOCTYPE article <.doctype 5.0.> >\Hnewline }}
-_-_-

<..docbook-mml dtd tex4ht..>
 <.docbook-mml dtd.>%
 <.docbook dtd.>%
 <.mathml dtd.>%
-_-_-

<..docbook-mml dtd..>
 <!ELEMENT equation (math)>\Hnewline
 <!ELEMENT inlineequation (math)>\Hnewline
 <.duplicated mathml entities.>%
-_-_-

<..duplicated mathml entities..>
 <!ENTITY \% ent-isopub  "">
 <!ENTITY \% ent-isonum  "">\Hnewline
 <!ENTITY \% ent-isolat2  "">
 <!ENTITY \% ent-isolat1  "">\Hnewline
 <!ENTITY \% ent-isodia  "">
 <!ENTITY \% ent-isocyr2  "">\Hnewline
 <!ENTITY \% ent-isocyr1  "">
 <!ENTITY \% ent-isobox  "">\Hnewline
 <!ENTITY \% ent-isotech  "">
 <!ENTITY \% ent-isogrk3  "">\Hnewline
 <!ENTITY \% ent-isoamsr  "">
 <!ENTITY \% ent-isoamso  "">\Hnewline
 <!ENTITY \% ent-isoamsn  "">
 <!ENTITY \% ent-isoamsc  "">\Hnewline
 <!ENTITY \% ent-isoamsb  "">
 <!ENTITY \% ent-isoamsa  "">\Hnewline
-_-_-

<..mathml dtd..>
 <!ENTITY \% mathml.dtd PUBLIC
     "-//W3C//DTD MathML 2.0//<.dtd lang.>"\Hnewline\space\space
     "mathml.dtd">
     \Hnewline \%mathml.dtd;\Hnewline
-_-_-