DocBook XSLT 2.0 Stylesheet output: figure.003.xml

Expected (7 differences)Actual (1 differences)
<html>
   <head>
      <link href="../../resources/css/db-prism.css" rel="stylesheet" type="text/css"/>
      <link href="../../resources/css/default.css" rel="stylesheet" type="text/css"/>
      <link href="../../resources/css/prism.css" rel="stylesheet" type="text/css"/>
      <meta charset="utf-8"/>
      <meta content="DocBook XSL 2.0 Stylesheets Vxxx" name="generator"/>
      <script src="../../resources/js/dbmodnizr.js" type="text/javascript"/>
      <title>Article wrapper</title>
   </head>
   <body>
      <article class="article" id="R.1">
         <header class="article-titlepage">
            <h2>Article wrapper</h2>
         </header>
         <p>A centered figure.</p>
         <figure class="figure-wrapper" id="figduck">
            <div class="figure">
               <div class="mediaobject centerimg" id="figduck.2">
                  <img align="middle" alt="The DocBook: TDG Duck" src="../graphics/duck-small.png"/>
               </div>
            </div>
            <div class="title">Figure 1. The Duck</div>
         </figure>
         <p>A centered screenshot.</p>
         <figure class="figure-wrapper" id="figduckscreen">
            <div class="figure">
               <figure class="screenshot-wrapper" id="figduckscreen.2">
                  <div class="screenshot">
                     <div class="mediaobject centerimg" id="figduckscreen.2.1">
                        <img align="middle" alt="The DocBook: TDG Duck" src="../graphics/duck-small.png"/>
                     </div>
                  </div>
               </figure>
            </div>
            <div class="title">Figure 2. The Duck Screenshot (looks the same)</div>
         </figure>
      </article>
      <script src="../../resources/js/prism.js"/>
   </body>
</html>
<html>
   <head>
      <link href="../../resources/css/db-prism.css" rel="stylesheet" type="text/css"/>
      <link href="../../resources/css/default.css" rel="stylesheet" type="text/css"/>
      <link href="../../resources/css/prism.css" rel="stylesheet" type="text/css"/>
      <meta charset="utf-8"/>
      <meta content="DocBook XSL 2.0 Stylesheets Vxxx" name="generator"/>
      <script src="../../resources/js/dbmodnizr.js" type="text/javascript"/>
      <title>Article wrapper</title>
   </head>
   <body>
      <article class="article" id="R.1">
         <header class="article-titlepage">
            <h2>Article wrapper</h2>
         </header>
         <div class="content">
            <p>A centered figure.</p>
            <figure class="figure-wrapper" id="figduck">
               <div class="figure">
                  <div class="mediaobject centerimg" id="figduck.2">
                     <img align="middle" alt="The DocBook: TDG Duck" src="../graphics/duck-small.png"/>
                  </div>
               </div>
               <div class="title">Figure 1. The Duck</div>
            </figure>
            <p>A centered screenshot.</p>
            <figure class="figure-wrapper" id="figduckscreen">
               <div class="figure">
                  <figure class="screenshot-wrapper" id="figduckscreen.2">
                     <div class="screenshot">
                        <div class="mediaobject centerimg" id="figduckscreen.2.1">
                           <img align="middle" alt="The DocBook: TDG Duck" src="../graphics/duck-small.png"/>
                        </div>
                     </div>
                  </figure>
               </div>
               <div class="title">Figure 2. The Duck Screenshot (looks the same)</div>
            </figure>
         </div>
      </article>
      <script src="../../resources/js/prism.js"/>
   </body>
</html>
The “current” CSS styling is applied to the this entire document; the results in this column may be anomalous. Also, image links are broken in this column. 

Article wrapper

A centered figure.

The DocBook: TDG Duck
Figure 1. The Duck

A centered screenshot.

The DocBook: TDG Duck
Figure 2. The Duck Screenshot (looks the same)

Article wrapper

A centered figure.

The DocBook: TDG Duck
Figure 1. The Duck

A centered screenshot.

The DocBook: TDG Duck
Figure 2. The Duck Screenshot (looks the same)

XML source