<p>
Sure, you can use pandoc to process your Docbook XML, but why not learn a little XSL this weekend?
</p>
<p><strong>Requirements</strong></p>
<p>
You must have <a href="https://xmlsoft.org/XSLT/xsltproc.html" target="_blank">xsltproc</a> installed. It's available from your software repository.
</p>
<p>
Here is some sample XML for you:
</p>
<pre><code>
&#60;xml version="1.0">
  &#60;para>
    My name is &#60;author>Foo&#60;/author>.
  &#60;/para>

  &#60;para>
    You&#39;re listening to &#60;emphasis role="bold">Hacker Public
    Radio&#60;/emphasis>.
  &#60;/para>
&#60;/xml>
</code></pre>
<p>
And here's the complete XSL as demonstrated:
</p>
<pre><code>
&#60;xsl:stylesheet xmlns:xsl="https://www.w3.org/1999/XSL/Transform" version="1.0">

  &#60;xsl:template match="para">
    &#60;p>&#60;span>&#60;xsl:apply-templates/>&#60;/span>&#60;/p>
  &#60;/xsl:template>

  &#60;xsl:template match="emphasis">
    &#60;em>&#60;xsl:apply-templates/>&#60;/em>
  &#60;/xsl:template>

  &#60;xsl:template match="emphasis[@role='bold']">
    &#60;strong>&#60;xsl:apply-templates/>&#60;/strong>
  &#60;/xsl:template>

  &#60;xsl:template match="author" name="host">
    &#60;xsl:choose>

      &#60;xsl:when test="$host = 'Klaatu'">
        &#60;xsl:text>Klaatu&#60;/xsl:text>
      &#60;/xsl:when>

      &#60;xsl:when test="$host = 'Gort'">
        &#60;xsl:text>Gort&#60;/xsl:text>
      &#60;/xsl:when>
    &#60;/xsl:choose>
  &#60;/xsl:template>
&#60;/xsl:stylesheet>
</code></pre>
<p><strong>Links</strong></p>
<ul>
<li>
<p>
<a href="https://nwalsh.com/docs/tutorials/xsl/xsl/frames.html" target="_blank">Norm Walsh</a>
</p>
</li>
<li>
<p>
<a href="https://dpawson.co.uk/xsl/" target="_blank">dpawson</a>
</p>
</li>
<li>
<p>
<a href="https://shop.oreilly.com/product/9780596003555.do" target="_blank">O'Reilly</a>
</p>
</li>
<li>
<p>
<a href="https://gitlab.com/notklaatu/dmschema" target="_blank">DM Schema</a>
</p>
</li>
</ul>
