DocBook XSLT 2.0 Stylesheet output: xref.003.xml

Expected (3 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>Unit Test: xref.003.xml</title>
   </head>
   <body>
      <article class="article" id="article">
         <header class="article-titlepage">
            <h2>Unit Test: xref.003.xml</h2>
            <div class="author">
               <h3>
                  <span class="personname">
                     <span class="firstname">Adam</span>
                     <span class="surname">Di Carlo</span>
                  </span>
               </h3>
            </div>
            <p class="CVS">$Id: xref.003.xml 4056 2004-11-23 13:28:50Z nwalsh $</p>
         </header>
         <div class="lists-of-titles">
            <div class="toc">
               <p>
                  <b>Table of Contents</b>
               </p>
               <ul class="toc">
                  <li>
                     <span>
                        <a href="#xreftests">1. Xref test: titleabbrev</a>
                     </span>
                  </li>
                  <li>
                     <span>
                        <a href="#section">2. Cross-ref targets</a>
                     </span>
                  </li>
               </ul>
            </div>
         </div>
         <section class="section" id="xreftests">
            <div class="section-titlepage">
               <h2>1. Xref test: titleabbrev</h2>
            </div>
            <p>
      We're testing that xref uses the <code class="tag-element">titleabbrev</code>
      element where appropriate.
    </p>
            <p>
      Article: <a href="#article" title="Unit Test: xref.003.xml">Unit 03</a>.
    </p>
            <p>
      Section: <a href="#section" title="Cross-reference targets">Section 2, “Cross-ref targets”</a>.
    </p>
            <p>
      Figure: <a href="#figure" title="Long Title for Figure">Figure 1, “Short Fig Title”</a>.
    </p>
            <p>
      Example: <a href="#example" title="Long Title for Example">Example 1, “Short Examp Title”</a>.
    </p>
            <p>
      Table: <a href="#table" title="Long Title for Table">Table 1, “Short Table Title”</a>.
    </p>
         </section>
         <section class="section" id="section">
            <div class="section-titlepage">
               <h2>2. Cross-reference targets</h2>
            </div>
            <p>
      Targets for cross-reference tests.
    </p>
            <figure class="figure-wrapper" id="figure">
               <div class="figure">
                  <div class="mediaobject" id="figure.2">
                     <div class="longdesc-link">[<a class="dialog-link" href="#longdesc-xxx" title="long description link">D</a>]</div>
                     <p>Bit of text</p>
                  </div>
               </div>
               <div class="title">Figure 1. Long Title for Figure</div>
            </figure>
            <figure class="example-wrapper" id="example">
               <div class="title">Example 1. Long Title for Example</div>
               <div class="example">
                  <p>Substance of example</p>
               </div>
            </figure>
            <figure class="table-wrapper" id="table">
               <div class="title">Table 1. Long Title for Table</div>
               <div class="table">
                  <table border="0" style="border-collapse: collapse;border-top: 1px solid ; border-bottom: 1px solid ; border-left: 1px solid ; border-right: 1px solid ; " summary="Table 1. Long Title for Table">
                     <colgroup>
                        <col class="tcol1" width="100%"/>
                     </colgroup>
                     <tbody>
                        <tr>
                           <td>table cell</td>
                        </tr>
                     </tbody>
                  </table>
               </div>
            </figure>
         </section>
         <div class="longdesc-list">
            <div class="dialog longdesc-hide" id="longdesc-xxx">
               <p>Bit of text</p>
            </div>
         </div>
      </article>
      <script src="http://code.jquery.com/jquery-1.6.4.min.js" type="text/javascript"/>
      <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js" type="text/javascript"/>
      <script src="../../resources/js/annotation.js" type="text/javascript"/>
      <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>Unit Test: xref.003.xml</title>
   </head>
   <body>
      <article class="article" id="article">
         <header class="article-titlepage">
            <h2>Unit Test: xref.003.xml</h2>
            <div class="author">
               <h3>
                  <span class="personname">
                     <span class="firstname">Adam</span>
                     <span class="surname">Di Carlo</span>
                  </span>
               </h3>
            </div>
            <p class="CVS">$Id: xref.003.xml 4056 2004-11-23 13:28:50Z nwalsh $</p>
         </header>
         <div class="lists-of-titles">
            <div class="toc">
               <p>
                  <b>Table of Contents</b>
               </p>
               <ul class="toc">
                  <li>
                     <span>
                        <a href="#xreftests">1. Xref test: titleabbrev</a>
                     </span>
                  </li>
                  <li>
                     <span>
                        <a href="#section">2. Cross-ref targets</a>
                     </span>
                  </li>
               </ul>
            </div>
         </div>
         <div class="content">
            <section class="section" id="xreftests">
               <div class="section-titlepage">
                  <h2>1. Xref test: titleabbrev</h2>
               </div>
               <div class="content">
                  <p>
      We're testing that xref uses the <code class="tag-element">titleabbrev</code>
      element where appropriate.
    </p>
                  <p>
      Article: <a href="#article" title="Unit Test: xref.003.xml">Unit 03</a>.
    </p>
                  <p>
      Section: <a href="#section" title="Cross-reference targets">Section 2, “Cross-ref targets”</a>.
    </p>
                  <p>
      Figure: <a href="#figure" title="Long Title for Figure">Figure 1, “Short Fig Title”</a>.
    </p>
                  <p>
      Example: <a href="#example" title="Long Title for Example">Example 1, “Short Examp Title”</a>.
    </p>
                  <p>
      Table: <a href="#table" title="Long Title for Table">Table 1, “Short Table Title”</a>.
    </p>
               </div>
            </section>
            <section class="section" id="section">
               <div class="section-titlepage">
                  <h2>2. Cross-reference targets</h2>
               </div>
               <div class="content">
                  <p>
      Targets for cross-reference tests.
    </p>
                  <figure class="figure-wrapper" id="figure">
                     <div class="figure">
                        <div class="mediaobject" id="figure.2">
                           <div class="longdesc-link">[<a class="dialog-link" href="#longdesc-xxx" title="long description link">D</a>]</div>
                           <p>Bit of text</p>
                        </div>
                     </div>
                     <div class="title">Figure 1. Long Title for Figure</div>
                  </figure>
                  <figure class="example-wrapper" id="example">
                     <div class="title">Example 1. Long Title for Example</div>
                     <div class="example">
                        <p>Substance of example</p>
                     </div>
                  </figure>
                  <figure class="table-wrapper" id="table">
                     <div class="title">Table 1. Long Title for Table</div>
                     <div class="table">
                        <table border="0" style="border-collapse: collapse;border-top: 1px solid ; border-bottom: 1px solid ; border-left: 1px solid ; border-right: 1px solid ; " summary="Table 1. Long Title for Table">
                           <colgroup>
                              <col class="tcol1" width="100%"/>
                           </colgroup>
                           <tbody>
                              <tr>
                                 <td>table cell</td>
                              </tr>
                           </tbody>
                        </table>
                     </div>
                  </figure>
               </div>
            </section>
         </div>
         <div class="longdesc-list">
            <div class="dialog longdesc-hide" id="longdesc-xxx">
               <p>Bit of text</p>
            </div>
         </div>
      </article>
      <script src="http://code.jquery.com/jquery-1.6.4.min.js" type="text/javascript"/>
      <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js" type="text/javascript"/>
      <script src="../../resources/js/annotation.js" type="text/javascript"/>
      <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. 

Unit Test: xref.003.xml

Adam Di Carlo

$Id: xref.003.xml 4056 2004-11-23 13:28:50Z nwalsh $

1. Xref test: titleabbrev

We're testing that xref uses the titleabbrev element where appropriate.

Article: Unit 03.

Section: Section 2, “Cross-ref targets”.

Figure: Figure 1, “Short Fig Title”.

Example: Example 1, “Short Examp Title”.

Table: Table 1, “Short Table Title”.

2. Cross-reference targets

Targets for cross-reference tests.

Bit of text

Figure 1. Long Title for Figure
Example 1. Long Title for Example

Substance of example

Table 1. Long Title for Table
table cell

Bit of text

Unit Test: xref.003.xml

Adam Di Carlo

$Id: xref.003.xml 4056 2004-11-23 13:28:50Z nwalsh $

1. Xref test: titleabbrev

We're testing that xref uses the titleabbrev element where appropriate.

Article: Unit 03.

Section: Section 2, “Cross-ref targets”.

Figure: Figure 1, “Short Fig Title”.

Example: Example 1, “Short Examp Title”.

Table: Table 1, “Short Table Title”.

2. Cross-reference targets

Targets for cross-reference tests.

Bit of text

Figure 1. Long Title for Figure
Example 1. Long Title for Example

Substance of example

Table 1. Long Title for Table
table cell

Bit of text

XML source