DocBook XSLT 2.0 Stylesheet output: methodsynopsis.001.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>Here's a <code class="tag-element">methodsynopsis</code> in a <code class="tag-element">classsynopsis</code>:
</p>
         <pre class="classsynopsis">class <span class="ooclass">
               <span class="classname">Foo</span>
            </span> {<br/>
            <code class="methodsynopsis">  <span class="modifier">public </span>
               <span class="modifier">static </span>
               <span class="type">double </span>
               <span class="methodname">getQuote</span>(<span class="methodparam">
                  <span class="type">String </span>
                  <span class="parameter">symbol</span>
               </span>,<br/>                                <span class="methodparam">
                  <span class="type">double </span>
                  <span class="parameter">price</span>
               </span>);</code>
            <br/>}</pre>
         <p>Here's a <code class="tag-element">methodsynopsis</code>
            <em>outside</em> a <code class="tag-element">classsynopsis</code>:
</p>
         <code class="methodsynopsis">
            <span class="modifier">public </span>
            <span class="modifier">static </span>
            <span class="type">double </span>
            <span class="methodname">getQuote</span>(<span class="methodparam">
               <span class="type">String </span>
               <span class="parameter">symbol</span>
            </span>,<br/>                              <span class="methodparam">
               <span class="type">double </span>
               <span class="parameter">price</span>
            </span>);</code>
      </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>Here's a <code class="tag-element">methodsynopsis</code> in a <code class="tag-element">classsynopsis</code>:
</p>
            <pre class="classsynopsis">class <span class="ooclass">
                  <span class="classname">Foo</span>
               </span> {<br/>
               <code class="methodsynopsis">  <span class="modifier">public </span>
                  <span class="modifier">static </span>
                  <span class="type">double </span>
                  <span class="methodname">getQuote</span>(<span class="methodparam">
                     <span class="type">String </span>
                     <span class="parameter">symbol</span>
                  </span>,<br/>                                <span class="methodparam">
                     <span class="type">double </span>
                     <span class="parameter">price</span>
                  </span>);</code>
               <br/>}</pre>
            <p>Here's a <code class="tag-element">methodsynopsis</code>
               <em>outside</em> a <code class="tag-element">classsynopsis</code>:
</p>
            <code class="methodsynopsis">
               <span class="modifier">public </span>
               <span class="modifier">static </span>
               <span class="type">double </span>
               <span class="methodname">getQuote</span>(<span class="methodparam">
                  <span class="type">String </span>
                  <span class="parameter">symbol</span>
               </span>,<br/>                              <span class="methodparam">
                  <span class="type">double </span>
                  <span class="parameter">price</span>
               </span>);</code>
         </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

Here's a methodsynopsis in a classsynopsis:

class Foo {
  public static double getQuote(String symbol,
                                double price);

}

Here's a methodsynopsis outside a classsynopsis:

public static double getQuote(String symbol,
                              double price);

Article wrapper

Here's a methodsynopsis in a classsynopsis:

class Foo {
  public static double getQuote(String symbol,
                                double price);

}

Here's a methodsynopsis outside a classsynopsis:

public static double getQuote(String symbol,
                              double price);

XML source