<!-- * page (which may different from the "title"...) -->
<xsl:variable name="first.refname" select="refnamediv[1]/refname[1]"/>
+ <xsl:call-template name="root.messages">
+ <xsl:with-param name="refname" select="$first.refname"/>
+ </xsl:call-template>
+
<!-- * Because there are several times when we need to check *info of -->
<!-- * each refentry and its ancestors, we get those and store the -->
<!-- * data from them as a node-set in memory. -->
</xsl:for-each>
</xsl:template>
+<xsl:template match="footnote"/>
+
<!-- * ============================================================== -->
<!-- * Handle table footnotes -->
<!-- * ============================================================== -->
<!-- * just assembling the actual text of the main text flow of each man -->
<!-- * page. This "other" stuff currently amounts to these steps: -->
<!-- * -->
+<!-- * - output boilerplate messages -->
<!-- * - add a comment to top part of roff source of each page -->
<!-- * - make a .TH title line (for controlling page header/footer) -->
<!-- * - set hyphenation, alignment, indent & line-breaking defaults -->
<!-- ==================================================================== -->
+<xsl:template name="root.messages">
+ <xsl:param name="refname"/>
+ <!-- redefine this any way you'd like to output messages -->
+ <!-- DO NOT OUTPUT ANYTHING FROM THIS TEMPLATE -->
+ <xsl:if test="//footnote">
+ <xsl:call-template name="log.message">
+ <xsl:with-param name="level">Warn</xsl:with-param>
+ <xsl:with-param name="source" select="$refname"/>
+ <xsl:with-param
+ name="message"
+ >Output for footnote element is not yet supported.</xsl:with-param>
+ </xsl:call-template>
+ </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
<!-- * top.comment generates a comment containing metadata for the man -->
<!-- * page; for example, Author, Generator, and Date information -->