1.2.1 content.xml (= jobname.xml)

<..configure ooffice-mml tex4ht..>
 \Configure{math-xmlns}
   {
      xmlns:math="http://www.w3.org/1998/Math/MathML"\Hnewline
      xmlns:xlink="http://www.w3.org/1999/xlink"
  }
-_-_-

<..configure ooffice-mml Preamble..>
 \Configure{mathml}{math:}
-_-_-

<..configure ooffice Preamble..>
 \Configure{ext}{4oo}
 \Configure{PROLOG}{VERSION,DOCTYPE}
 <.od definitions.>
 \def\oo:dtd:ver{2.0}
-_-_-

<..configure ooffice tex4ht..>+
 \Configure{VERSION}{\HCode{<.VERSION.>}}
 \:CheckOption{-xtpipes} \if:Option
    \Configure{DOCTYPE}{\HCode{<.DOCTYPE.>}}
 \else
    \Configure{DOCTYPE}{\HCode{<.DOCTYPE.>\Hnewline
         <?xtpipes file="oo-text.4xt" ?>\Hnewline}}
 \fi
-_-_-

<..configure ooffice tex4ht..>+
    <.oo2 tex4ht.>
-_-_-

<..oo2 tex4ht..>
    {\Configure{Needs}{File: \jobname.odt}\Needs{}}
    \Configure{HTML}
       {\HCode{<office:document-content \Hnewline
           <.xml name spaces 2.0.>%
           office:version="1.0"
        >\Hnewline
        <office:automatic-styles>
           <?tex4ht-lg file="\jobname.lg" ?>
           \expandafter\ifx\csname a:automatic-styles\endcsname\relax \else
              \csname a:automatic-styles\endcsname
           \fi  \Hnewline
        </office:automatic-styles>
       }}
       {\EndP\HCode{</office:document-content>}\Configure{newpage}{}}
 \NewConfigure{automatic-styles}[1]{%
    \expandafter\concat:config\csname a:automatic-styles\endcsname{#1}}
 \expandafter\let\csname a:automatic-styles\endcsname\relax
 <.oo2 automatic styles.>
-_-_-

<..configure ooffice tex4ht..>+
 \Configure{HEAD}{}{}
-_-_-

<..oo2 tex4ht..>+
 \Configure{BODY}
   {\HCode{<office:body><office:text>}\par\ShowPar}
   {\IgnorePar\EndP
    \HCode{</office:text></office:body>\Hnewline}}
-_-_-

<..xml name spaces 1.0..>
 xmlns:chart="http://openoffice.org/2000/chart"      \Hnewline
 xmlns:dr3d="http://openoffice.org/2000/dr3d"        \Hnewline
 xmlns:draw="http://openoffice.org/2000/drawing"     \Hnewline
 xmlns:form="http://openoffice.org/2000/form"        \Hnewline
 xmlns:number="http://openoffice.org/2000/datastyle" \Hnewline
 xmlns:office="http://openoffice.org/2000/office"    \Hnewline
 xmlns:script="http://openoffice.org/2000/script"    \Hnewline
 xmlns:style="http://openoffice.org/2000/style"      \Hnewline
 xmlns:table="http://openoffice.org/2000/table"      \Hnewline
 xmlns:text="http://openoffice.org/2000/text"        \Hnewline
 xmlns:fo="http://www.w3.org/1999/XSL/Format"        \Hnewline
 xmlns:math="http://www.w3.org/1998/Math/MathML"     \Hnewline
 xmlns:svg="http://www.w3.org/2000/svg"              \Hnewline
 xmlns:xlink="http://www.w3.org/1999/xlink"          \Hnewline
-_-_-

<..xml name spaces 2.0..>
 xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"   \Hnewline
 xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"     \Hnewline
 xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"     \Hnewline
 xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"    \Hnewline
 xmlns:fo="http://www.w3.org/1999/XSL/Format"                      \Hnewline
 xmlns:xlink="http://www.w3.org/1999/xlink"                        \Hnewline
 xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"       \Hnewline
 xmlns:dc="http://purl.org/dc/elements/1.1/"                       \Hnewline
 xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"       \Hnewline
 xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"\Hnewline
 xmlns:svg="http://www.w3.org/2000/svg"                            \Hnewline
 xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"     \Hnewline
 xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"       \Hnewline
 xmlns:math="http://www.w3.org/1998/Math/MathML"                   \Hnewline
 xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"       \Hnewline
 xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"   \Hnewline
 xmlns:ooo="http://openoffice.org/2004/office"                     \Hnewline
 xmlns:ooow="http://openoffice.org/2004/writer"                    \Hnewline
 xmlns:oooc="http://openoffice.org/2004/calc"                      \Hnewline
 xmlns:dom="http://www.w3.org/2001/xml-events"                     \Hnewline
 xmlns:xforms="http://www.w3.org/2002/xforms"                      \Hnewline
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"                      \Hnewline
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"             \Hnewline
 xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"  \Hnewline
 xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"\Hnewline
 xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnewline
-_-_-

<..xml styles name spaces 2.0..>
 xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"\Hnewline
 xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"  \Hnewline
 xmlns:dc="http://purl.org/dc/elements/1.1/"  \Hnewline
 xmlns:dom="http://www.w3.org/2001/xml-events"  \Hnewline
 xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"  \Hnewline
 xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"  \Hnewline
 xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"\Hnewline
 xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"  \Hnewline
 xmlns:math="http://www.w3.org/1998/Math/MathML"  \Hnewline
 xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"  \Hnewline
 xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"  \Hnewline
 xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"\Hnewline
 xmlns:ooo="http://openoffice.org/2004/office"  \Hnewline
 xmlns:oooc="http://openoffice.org/2004/calc"  \Hnewline
 xmlns:ooow="http://openoffice.org/2004/writer"  \Hnewline
 xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"\Hnewline
 xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"  \Hnewline
 xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"\Hnewline
 xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"  \Hnewline
 xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"\Hnewline
 xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"  \Hnewline
 xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"\Hnewline
 xmlns:xlink="http://www.w3.org/1999/xlink"\Hnewline
-_-_-

<..VERSION..>
 <?xml version="1.0" encoding="UTF-8"?>\Hnewline
-_-_-

<..DOCTYPE..>
 <!DOCTYPE office:document-content PUBLIC
    "-//OpenOffice.org//DTD OfficeDocument \oo:dtd:ver//<.dtd lang.>"
    "office.dtd">\Hnewline
-_-_-

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

<..configure ooffice Preamble..>+
 \let\Css=\:gobble
-_-_-