DocBook XSLT 2.0 Stylesheet output: index.002.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>Unit Test: index.002</title>
   </head>
   <body>
      <article class="book" id="R.1">
         <header class="book-titlepage">
            <h1>Unit Test: index.002</h1>
            <h2>Index in Part within Book</h2>
            <div class="author">
               <h3>
                  <span class="personname">
                     <span class="firstname">Michael</span>
                     <span class="surname">Smith</span>
                  </span>
               </h3>
            </div>
         </header>
         <div class="lists-of-titles">
            <div class="toc">
               <p>
                  <b>Table of Contents</b>
               </p>
               <ul class="toc">
                  <li>
                     <span>
                        <a href="#R.1.2">I. First Part</a>
                     </span>
                     <ul class="toc">
                        <li>
                           <span>
                              <a href="#R.1.2.2">1. Chapter</a>
                           </span>
                        </li>
                        <li>
                           <span>
                              <a href="#R.1.2.3">Index</a>
                           </span>
                        </li>
                     </ul>
                  </li>
                  <li>
                     <span>
                        <a href="#R.1.3">II. Second Part</a>
                     </span>
                     <ul class="toc">
                        <li>
                           <span>
                              <a href="#R.1.3.2">2. Chapter</a>
                           </span>
                        </li>
                        <li>
                           <span>
                              <a href="#R.1.3.3">Index</a>
                           </span>
                        </li>
                     </ul>
                  </li>
                  <li>
                     <span>
                        <a href="#R.1.4">III. Third Part</a>
                     </span>
                     <ul class="toc">
                        <li>
                           <span>
                              <a href="#R.1.4.2">3. Chapter</a>
                           </span>
                        </li>
                        <li>
                           <span>
                              <a href="#R.1.4.3">Index</a>
                           </span>
                        </li>
                     </ul>
                  </li>
                  <li>
                     <span>
                        <a href="#R.1.5">Index</a>
                     </span>
                  </li>
               </ul>
            </div>
         </div>
         <article class="part" id="R.1.2">
            <header class="part-titlepage">
               <h1>Part I. First Part</h1>
            </header>
            <div class="lists-of-titles">
               <div class="toc">
                  <p>
                     <b>Table of Contents</b>
                  </p>
                  <ul class="toc">
                     <li>
                        <span>
                           <a href="#R.1.2.2">1. Chapter</a>
                        </span>
                     </li>
                     <li>
                        <span>
                           <a href="#R.1.2.3">Index</a>
                        </span>
                     </li>
                  </ul>
               </div>
            </div>
            <article class="chapter" id="R.1.2.2">
               <header class="chapter-titlepage">
                  <h2>Chapter 1. Chapter</h2>
               </header>
               <p>Some test data
  <a class="indexterm" name="R.1.2.2.2.1"/>
               </p>
            </article>
            <article class="index" id="R.1.2.3">
               <header class="index-titlepage">
                  <h2>Index</h2>
               </header>
               <div class="generated-index">
                  <div class="generated-indexdiv">
                     <h3>F</h3>
                     <dl>
                        <dt>First Part, <a href="#R.1.2.2.2.1" title="Chapter 1. Chapter">1</a>
                        </dt>
                     </dl>
                  </div>
               </div>
            </article>
         </article>
         <article class="part" id="R.1.3">
            <header class="part-titlepage">
               <h1>Part II. Second Part</h1>
            </header>
            <div class="lists-of-titles">
               <div class="toc">
                  <p>
                     <b>Table of Contents</b>
                  </p>
                  <ul class="toc">
                     <li>
                        <span>
                           <a href="#R.1.3.2">2. Chapter</a>
                        </span>
                     </li>
                     <li>
                        <span>
                           <a href="#R.1.3.3">Index</a>
                        </span>
                     </li>
                  </ul>
               </div>
            </div>
            <article class="chapter" id="R.1.3.2">
               <header class="chapter-titlepage">
                  <h2>Chapter 2. Chapter</h2>
               </header>
               <p>Some test data
  <a class="indexterm" name="R.1.3.2.2.1"/>
               </p>
            </article>
            <article class="index" id="R.1.3.3">
               <header class="index-titlepage">
                  <h2>Index</h2>
               </header>
               <div class="generated-index">
                  <div class="generated-indexdiv">
                     <h3>S</h3>
                     <dl>
                        <dt>Second Part, <a href="#R.1.3.2.2.1" title="Chapter 2. Chapter">1</a>
                        </dt>
                     </dl>
                  </div>
               </div>
            </article>
         </article>
         <article class="part" id="R.1.4">
            <header class="part-titlepage">
               <h1>Part III. Third Part</h1>
            </header>
            <div class="lists-of-titles">
               <div class="toc">
                  <p>
                     <b>Table of Contents</b>
                  </p>
                  <ul class="toc">
                     <li>
                        <span>
                           <a href="#R.1.4.2">3. Chapter</a>
                        </span>
                     </li>
                     <li>
                        <span>
                           <a href="#R.1.4.3">Index</a>
                        </span>
                     </li>
                  </ul>
               </div>
            </div>
            <article class="chapter" id="R.1.4.2">
               <header class="chapter-titlepage">
                  <h2>Chapter 3. Chapter</h2>
               </header>
               <p>Some test data
  <a class="indexterm" name="R.1.4.2.2.1"/>
               </p>
            </article>
            <article class="index" id="R.1.4.3">
               <header class="index-titlepage">
                  <h2>Index</h2>
               </header>
               <div class="generated-index">
                  <div class="generated-indexdiv">
                     <h3>T</h3>
                     <dl>
                        <dt>Third Part, <a href="#R.1.4.2.2.1" title="Chapter 3. Chapter">1</a>
                        </dt>
                     </dl>
                  </div>
               </div>
            </article>
         </article>
         <article class="index" id="R.1.5">
            <header class="index-titlepage">
               <h2>Index</h2>
            </header>
            <div class="generated-index">
               <div class="generated-indexdiv">
                  <h3>F</h3>
                  <dl>
                     <dt>First Part, <a href="#R.1.2.2.2.1" title="Chapter 1. Chapter">1</a>
                     </dt>
                  </dl>
               </div>
               <div class="generated-indexdiv">
                  <h3>S</h3>
                  <dl>
                     <dt>Second Part, <a href="#R.1.3.2.2.1" title="Chapter 2. Chapter">1</a>
                     </dt>
                  </dl>
               </div>
               <div class="generated-indexdiv">
                  <h3>T</h3>
                  <dl>
                     <dt>Third Part, <a href="#R.1.4.2.2.1" title="Chapter 3. Chapter">1</a>
                     </dt>
                  </dl>
               </div>
            </div>
         </article>
      </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>Unit Test: index.002</title>
   </head>
   <body>
      <article class="book" id="R.1">
         <header class="book-titlepage">
            <h1>Unit Test: index.002</h1>
            <h2>Index in Part within Book</h2>
            <div class="author">
               <h3>
                  <span class="personname">
                     <span class="firstname">Michael</span>
                     <span class="surname">Smith</span>
                  </span>
               </h3>
            </div>
         </header>
         <div class="lists-of-titles">
            <div class="toc">
               <p>
                  <b>Table of Contents</b>
               </p>
               <ul class="toc">
                  <li>
                     <span>
                        <a href="#R.1.2">I. First Part</a>
                     </span>
                     <ul class="toc">
                        <li>
                           <span>
                              <a href="#R.1.2.2">1. Chapter</a>
                           </span>
                        </li>
                        <li>
                           <span>
                              <a href="#R.1.2.3">Index</a>
                           </span>
                        </li>
                     </ul>
                  </li>
                  <li>
                     <span>
                        <a href="#R.1.3">II. Second Part</a>
                     </span>
                     <ul class="toc">
                        <li>
                           <span>
                              <a href="#R.1.3.2">2. Chapter</a>
                           </span>
                        </li>
                        <li>
                           <span>
                              <a href="#R.1.3.3">Index</a>
                           </span>
                        </li>
                     </ul>
                  </li>
                  <li>
                     <span>
                        <a href="#R.1.4">III. Third Part</a>
                     </span>
                     <ul class="toc">
                        <li>
                           <span>
                              <a href="#R.1.4.2">3. Chapter</a>
                           </span>
                        </li>
                        <li>
                           <span>
                              <a href="#R.1.4.3">Index</a>
                           </span>
                        </li>
                     </ul>
                  </li>
                  <li>
                     <span>
                        <a href="#R.1.5">Index</a>
                     </span>
                  </li>
               </ul>
            </div>
         </div>
         <div class="content">
            <article class="part" id="R.1.2">
               <header class="part-titlepage">
                  <h1>Part I. First Part</h1>
               </header>
               <div class="lists-of-titles">
                  <div class="toc">
                     <p>
                        <b>Table of Contents</b>
                     </p>
                     <ul class="toc">
                        <li>
                           <span>
                              <a href="#R.1.2.2">1. Chapter</a>
                           </span>
                        </li>
                        <li>
                           <span>
                              <a href="#R.1.2.3">Index</a>
                           </span>
                        </li>
                     </ul>
                  </div>
               </div>
               <div class="content">
                  <article class="chapter" id="R.1.2.2">
                     <header class="chapter-titlepage">
                        <h2>Chapter 1. Chapter</h2>
                     </header>
                     <div class="content">
                        <p>Some test data
  <a class="indexterm" name="R.1.2.2.2.1"/>
                        </p>
                     </div>
                  </article>
                  <article class="index" id="R.1.2.3">
                     <header class="index-titlepage">
                        <h2>Index</h2>
                     </header>
                     <div class="generated-index">
                        <div class="generated-indexdiv">
                           <h3>F</h3>
                           <dl>
                              <dt>First Part, <a href="#R.1.2.2.2.1" title="Chapter 1. Chapter">1</a>
                              </dt>
                           </dl>
                        </div>
                     </div>
                  </article>
               </div>
            </article>
            <article class="part" id="R.1.3">
               <header class="part-titlepage">
                  <h1>Part II. Second Part</h1>
               </header>
               <div class="lists-of-titles">
                  <div class="toc">
                     <p>
                        <b>Table of Contents</b>
                     </p>
                     <ul class="toc">
                        <li>
                           <span>
                              <a href="#R.1.3.2">2. Chapter</a>
                           </span>
                        </li>
                        <li>
                           <span>
                              <a href="#R.1.3.3">Index</a>
                           </span>
                        </li>
                     </ul>
                  </div>
               </div>
               <div class="content">
                  <article class="chapter" id="R.1.3.2">
                     <header class="chapter-titlepage">
                        <h2>Chapter 2. Chapter</h2>
                     </header>
                     <div class="content">
                        <p>Some test data
  <a class="indexterm" name="R.1.3.2.2.1"/>
                        </p>
                     </div>
                  </article>
                  <article class="index" id="R.1.3.3">
                     <header class="index-titlepage">
                        <h2>Index</h2>
                     </header>
                     <div class="generated-index">
                        <div class="generated-indexdiv">
                           <h3>S</h3>
                           <dl>
                              <dt>Second Part, <a href="#R.1.3.2.2.1" title="Chapter 2. Chapter">1</a>
                              </dt>
                           </dl>
                        </div>
                     </div>
                  </article>
               </div>
            </article>
            <article class="part" id="R.1.4">
               <header class="part-titlepage">
                  <h1>Part III. Third Part</h1>
               </header>
               <div class="lists-of-titles">
                  <div class="toc">
                     <p>
                        <b>Table of Contents</b>
                     </p>
                     <ul class="toc">
                        <li>
                           <span>
                              <a href="#R.1.4.2">3. Chapter</a>
                           </span>
                        </li>
                        <li>
                           <span>
                              <a href="#R.1.4.3">Index</a>
                           </span>
                        </li>
                     </ul>
                  </div>
               </div>
               <div class="content">
                  <article class="chapter" id="R.1.4.2">
                     <header class="chapter-titlepage">
                        <h2>Chapter 3. Chapter</h2>
                     </header>
                     <div class="content">
                        <p>Some test data
  <a class="indexterm" name="R.1.4.2.2.1"/>
                        </p>
                     </div>
                  </article>
                  <article class="index" id="R.1.4.3">
                     <header class="index-titlepage">
                        <h2>Index</h2>
                     </header>
                     <div class="generated-index">
                        <div class="generated-indexdiv">
                           <h3>T</h3>
                           <dl>
                              <dt>Third Part, <a href="#R.1.4.2.2.1" title="Chapter 3. Chapter">1</a>
                              </dt>
                           </dl>
                        </div>
                     </div>
                  </article>
               </div>
            </article>
            <article class="index" id="R.1.5">
               <header class="index-titlepage">
                  <h2>Index</h2>
               </header>
               <div class="generated-index">
                  <div class="generated-indexdiv">
                     <h3>F</h3>
                     <dl>
                        <dt>First Part, <a href="#R.1.2.2.2.1" title="Chapter 1. Chapter">1</a>
                        </dt>
                     </dl>
                  </div>
                  <div class="generated-indexdiv">
                     <h3>S</h3>
                     <dl>
                        <dt>Second Part, <a href="#R.1.3.2.2.1" title="Chapter 2. Chapter">1</a>
                        </dt>
                     </dl>
                  </div>
                  <div class="generated-indexdiv">
                     <h3>T</h3>
                     <dl>
                        <dt>Third Part, <a href="#R.1.4.2.2.1" title="Chapter 3. Chapter">1</a>
                        </dt>
                     </dl>
                  </div>
               </div>
            </article>
         </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. 

Unit Test: index.002

Index in Part within Book

Michael Smith

Part I. First Part

Table of Contents

Chapter 1. Chapter

Some test data

Index

F

First Part, 1

Part II. Second Part

Table of Contents

Chapter 2. Chapter

Some test data

Index

S

Second Part, 1

Part III. Third Part

Table of Contents

Chapter 3. Chapter

Some test data

Index

T

Third Part, 1

Index

F

First Part, 1

S

Second Part, 1

T

Third Part, 1

Unit Test: index.002

Index in Part within Book

Michael Smith

Part I. First Part

Table of Contents

Chapter 1. Chapter

Some test data

Index

F

First Part, 1

Part II. Second Part

Table of Contents

Chapter 2. Chapter

Some test data

Index

S

Second Part, 1

Part III. Third Part

Table of Contents

Chapter 3. Chapter

Some test data

Index

T

Third Part, 1

Index

F

First Part, 1

S

Second Part, 1

T

Third Part, 1

XML source