DocBook XSLT 2.0 Stylesheet output: refentry.009.xml

Expected (1 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: refentry.009</title>
   </head>
   <body>
      <article class="article" id="R.1">
         <header class="article-titlepage">
            <h2>Unit Test: refentry.009</h2>
            <h3>Refentry for a OO Class</h3>
            <div class="author">
               <h3>
                  <span class="orgname">DocBook Project Development Team</span>
               </h3>
            </div>
         </header>
         <div class="lists-of-titles">
            <div class="toc">
               <p>
                  <b>Table of Contents</b>
               </p>
               <ul class="toc">
                  <li>
                     <span class="refentrytitle">
                        <a href="#Catalog_refentry">Catalog</a>
                     </span>
                     <span class="refpurpose"> - do something with a catalog</span>
                  </li>
               </ul>
            </div>
         </div>
         <article class="refentry" id="Catalog_refentry">
            <div class="refnamediv">
               <h2>Name</h2>
               <p>
                  <span class="refname">Catalog</span>
                  <span class="refpurpose">
                     <span class="refpurpose-sep"> — </span>
                     <span class="refpurpose-text">do something with a catalog</span>
                     <span class="refpurpose-punc">.</span>
                  </span>
               </p>
            </div>
            <div class="refsynopsisdiv">
               <h2>Synopsis</h2>
               <p>@language='java'</p>
               <pre class="classsynopsis">class <span class="ooclass">
                     <span class="modifier">public </span>
                     <span class="classname">Catalog</span>
                  </span> {<br/>
                  <code class="fieldsynopsis">  <span class="modifier">public </span>
                     <span class="modifier">static </span>
                     <span class="modifier">final </span>
                     <span class="type">int </span>
                     <span class="varname">BASE </span>
                     <span class="initializer">= CatalogEntry.addEntryType("BASE", 1)</span>;</code>
                  <br/>
                  <code class="constructorsynopsis">  <span class="modifier">public </span>
                     <span class="methodname">Catalog</span>();</code>
                  <br/>
                  <code class="methodsynopsis">  <span class="modifier">protected </span>
                     <span class="void">void </span>
                     <span class="methodname">copyReaders</span>(<span class="methodparam">
                        <span class="type">Catalog </span>
                        <span class="parameter">newCatalog</span>
                     </span>);</code>
                  <br/>}</pre>
               <p>@language='cpp'</p>
               <pre class="classsynopsis">
                  <span class="ooclass">
                     <span class="modifier">public </span>
                     <span class="classname">Catalog</span>
                  </span> {<br/>
                  <code class="fieldsynopsis">  <span class="modifier">public </span>
                     <span class="modifier">static </span>
                     <span class="modifier">final </span>
                     <span class="type">int </span>
                     <span class="varname">BASE </span>
                     <span class="initializer">= CatalogEntry.addEntryType("BASE", 1)</span>;</code>
                  <br/>
                  <code class="constructorsynopsis">  <span class="modifier">public </span>
                     <span class="methodname">Catalog</span>
                     <span class="methodname">Catalog</span>();</code>
                  <br/>
                  <code class="methodsynopsis">  <span class="modifier">protected </span>
                     <span class="methodname">copyReaders</span>(<span class="methodparam">
                        <span class="type">Catalog </span>
                        <span class="parameter">newCatalog</span>
                     </span>);</code>
                  <br/>}</pre>
               <p>@language='idl'</p>
               <pre class="classsynopsis">interface <span class="ooclass">
                     <span class="modifier">public </span>
                     <span class="classname">Catalog</span>
                  </span> {<br/>
                  <code class="fieldsynopsis">  <span class="modifier">public </span>
                     <span class="modifier">static </span>
                     <span class="modifier">final </span>
                     <span class="type">int </span>
                     <span class="varname">BASE </span>
                     <span class="initializer">= CatalogEntry.addEntryType("BASE", 1)</span>;</code>
                  <br/>
                  <code class="constructorsynopsis">  <span class="modifier">public </span>
                     <span class="methodname">Catalog</span>();</code>
                  <br/>
                  <code class="methodsynopsis">  <span class="modifier">protected </span>
                     <span class="void">void </span>
                     <span class="methodname">copyReaders</span>(<span class="methodparam">
                        <span class="type">Catalog </span>
                        <span class="parameter">newCatalog</span>
                     </span>);</code>
                  <br/>}</pre>
               <p>@language='perl'</p>
               <pre class="classsynopsis">package <span class="ooclass">
                     <span class="modifier">public </span>
                     <span class="classname">Catalog</span>
                  </span>;<br/>
                  <code class="fieldsynopsis">  <span class="modifier">public </span>
                     <span class="modifier">static </span>
                     <span class="modifier">final </span>
                     <span class="type">int </span>
                     <span class="varname">BASE </span>
                     <span class="initializer">= CatalogEntry.addEntryType("BASE", 1)</span>;</code>
                  <br/>
                  <code class="constructorsynopsis">sub <span class="methodname">Catalog</span> { ... };</code>
                  <br/>
                  <code class="methodsynopsis">sub <span class="methodname">copyReaders</span> { ... };</code>
                  <br/>
               </pre>
            </div>
            <div class="refsect1">
               <div class="refsection-titlepage">
                  <h2>Dummy Refsect1</h2>
               </div>
               <p>This is just a placeholder.</p>
            </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: refentry.009</title>
   </head>
   <body>
      <article class="article" id="R.1">
         <header class="article-titlepage">
            <h2>Unit Test: refentry.009</h2>
            <h3>Refentry for a OO Class</h3>
            <div class="author">
               <h3>
                  <span class="orgname">DocBook Project Development Team</span>
               </h3>
            </div>
         </header>
         <div class="lists-of-titles">
            <div class="toc">
               <p>
                  <b>Table of Contents</b>
               </p>
               <ul class="toc">
                  <li>
                     <span class="refentrytitle">
                        <a href="#Catalog_refentry">Catalog</a>
                     </span>
                     <span class="refpurpose"> - do something with a catalog</span>
                  </li>
               </ul>
            </div>
         </div>
         <div class="content">
            <article class="refentry" id="Catalog_refentry">
               <div class="content">
                  <div class="refnamediv">
                     <h2>Name</h2>
                     <p>
                        <span class="refname">Catalog</span>
                        <span class="refpurpose">
                           <span class="refpurpose-sep"> — </span>
                           <span class="refpurpose-text">do something with a catalog</span>
                           <span class="refpurpose-punc">.</span>
                        </span>
                     </p>
                  </div>
                  <div class="refsynopsisdiv">
                     <h2>Synopsis</h2>
                     <p>@language='java'</p>
                     <pre class="classsynopsis">class <span class="ooclass">
                           <span class="modifier">public </span>
                           <span class="classname">Catalog</span>
                        </span> {<br/>
                        <code class="fieldsynopsis">  <span class="modifier">public </span>
                           <span class="modifier">static </span>
                           <span class="modifier">final </span>
                           <span class="type">int </span>
                           <span class="varname">BASE </span>
                           <span class="initializer">= CatalogEntry.addEntryType("BASE", 1)</span>;</code>
                        <br/>
                        <code class="constructorsynopsis">  <span class="modifier">public </span>
                           <span class="methodname">Catalog</span>();</code>
                        <br/>
                        <code class="methodsynopsis">  <span class="modifier">protected </span>
                           <span class="void">void </span>
                           <span class="methodname">copyReaders</span>(<span class="methodparam">
                              <span class="type">Catalog </span>
                              <span class="parameter">newCatalog</span>
                           </span>);</code>
                        <br/>}</pre>
                     <p>@language='cpp'</p>
                     <pre class="classsynopsis">
                        <span class="ooclass">
                           <span class="modifier">public </span>
                           <span class="classname">Catalog</span>
                        </span> {<br/>
                        <code class="fieldsynopsis">  <span class="modifier">public </span>
                           <span class="modifier">static </span>
                           <span class="modifier">final </span>
                           <span class="type">int </span>
                           <span class="varname">BASE </span>
                           <span class="initializer">= CatalogEntry.addEntryType("BASE", 1)</span>;</code>
                        <br/>
                        <code class="constructorsynopsis">  <span class="modifier">public </span>
                           <span class="methodname">Catalog</span>
                           <span class="methodname">Catalog</span>();</code>
                        <br/>
                        <code class="methodsynopsis">  <span class="modifier">protected </span>
                           <span class="methodname">copyReaders</span>(<span class="methodparam">
                              <span class="type">Catalog </span>
                              <span class="parameter">newCatalog</span>
                           </span>);</code>
                        <br/>}</pre>
                     <p>@language='idl'</p>
                     <pre class="classsynopsis">interface <span class="ooclass">
                           <span class="modifier">public </span>
                           <span class="classname">Catalog</span>
                        </span> {<br/>
                        <code class="fieldsynopsis">  <span class="modifier">public </span>
                           <span class="modifier">static </span>
                           <span class="modifier">final </span>
                           <span class="type">int </span>
                           <span class="varname">BASE </span>
                           <span class="initializer">= CatalogEntry.addEntryType("BASE", 1)</span>;</code>
                        <br/>
                        <code class="constructorsynopsis">  <span class="modifier">public </span>
                           <span class="methodname">Catalog</span>();</code>
                        <br/>
                        <code class="methodsynopsis">  <span class="modifier">protected </span>
                           <span class="void">void </span>
                           <span class="methodname">copyReaders</span>(<span class="methodparam">
                              <span class="type">Catalog </span>
                              <span class="parameter">newCatalog</span>
                           </span>);</code>
                        <br/>}</pre>
                     <p>@language='perl'</p>
                     <pre class="classsynopsis">package <span class="ooclass">
                           <span class="modifier">public </span>
                           <span class="classname">Catalog</span>
                        </span>;<br/>
                        <code class="fieldsynopsis">  <span class="modifier">public </span>
                           <span class="modifier">static </span>
                           <span class="modifier">final </span>
                           <span class="type">int </span>
                           <span class="varname">BASE </span>
                           <span class="initializer">= CatalogEntry.addEntryType("BASE", 1)</span>;</code>
                        <br/>
                        <code class="constructorsynopsis">sub <span class="methodname">Catalog</span> { ... };</code>
                        <br/>
                        <code class="methodsynopsis">sub <span class="methodname">copyReaders</span> { ... };</code>
                        <br/>
                     </pre>
                  </div>
                  <div class="refsect1">
                     <div class="refsection-titlepage">
                        <h2>Dummy Refsect1</h2>
                     </div>
                     <div class="content">
                        <p>This is just a placeholder.</p>
                     </div>
                  </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: refentry.009

Refentry for a OO Class

DocBook Project Development Team

Table of Contents

  • Catalog - do something with a catalog

Name

Catalog — do something with a catalog.

Synopsis

@language='java'

class public Catalog {
  public static final int BASE = CatalogEntry.addEntryType("BASE", 1);
  public Catalog();
  protected void copyReaders(Catalog newCatalog);
}

@language='cpp'

public Catalog {
  public static final int BASE = CatalogEntry.addEntryType("BASE", 1);
  public CatalogCatalog();
  protected copyReaders(Catalog newCatalog);
}

@language='idl'

interface public Catalog {
  public static final int BASE = CatalogEntry.addEntryType("BASE", 1);
  public Catalog();
  protected void copyReaders(Catalog newCatalog);
}

@language='perl'

package public Catalog;
  public static final int BASE = CatalogEntry.addEntryType("BASE", 1);
sub Catalog { ... };
sub copyReaders { ... };

Dummy Refsect1

This is just a placeholder.

Unit Test: refentry.009

Refentry for a OO Class

DocBook Project Development Team

Table of Contents

  • Catalog - do something with a catalog

Name

Catalog — do something with a catalog.

Synopsis

@language='java'

class public Catalog {
  public static final int BASE = CatalogEntry.addEntryType("BASE", 1);
  public Catalog();
  protected void copyReaders(Catalog newCatalog);
}

@language='cpp'

public Catalog {
  public static final int BASE = CatalogEntry.addEntryType("BASE", 1);
  public CatalogCatalog();
  protected copyReaders(Catalog newCatalog);
}

@language='idl'

interface public Catalog {
  public static final int BASE = CatalogEntry.addEntryType("BASE", 1);
  public Catalog();
  protected void copyReaders(Catalog newCatalog);
}

@language='perl'

package public Catalog;
  public static final int BASE = CatalogEntry.addEntryType("BASE", 1);
sub Catalog { ... };
sub copyReaders { ... };

Dummy Refsect1

This is just a placeholder.

XML source