<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Export to XHTML incorrectly exports Heading style numbers"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107696">bug 107696</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>NEW
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>serval2412@yahoo.fr
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Ever confirmed</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Export to XHTML incorrectly exports Heading style numbers"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107696#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Export to XHTML incorrectly exports Heading style numbers"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107696">bug 107696</a>
              from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
        <pre>On pc Debian x86-64 with master sources updated some days ago, I could
reproduce this. 

I made some tests and found that a slight change made work your second example.
The problem is I don't know xsl and am not sure.

Would you have some time to give a try after changing
instdir/share/xslt/export/xhtml/body.xsl ? (in your LO directory profile, see
<a href="https://wiki.documentfoundation.org/UserProfile#Windows">https://wiki.documentfoundation.org/UserProfile#Windows</a>)
Line 1424, change this line:
<xsl:with-param name="i" select="$i + 1"/>

into
<xsl:with-param name="i" select="$i + 2"/></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>