<commit_before><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:pdx="http://xml.phpdox.net/src#"
                xmlns:pdxf="http://xml.phpdox.net/functions"
                exclude-result-prefixes="pdx pdxf">

    <xsl:param name="base" select="''" />
    <xsl:param name="xml" select="''" />
    <xsl:param name="extension" select="'xhtml'" />
    <xsl:param name="project" select="'phpDox generated Project'" />

    <!-- ######################################################################################################### -->

    <xsl:template name="head">
        <xsl:param name="title" select="'Overview'" />

        <head>
            <title>phpDox - <xsl:value-of select="$title" /></title>
            <link rel="stylesheet" type="text/css" href="{$base}css/style.css" media="screen" />
        </head>

    </xsl:template>

    <!-- ######################################################################################################### -->

    <xsl:template name="nav">
        <xsl:variable name="index" select="document(concat($xml,'index.xml'))/pdx:index" />
        <nav class="topnav">
            <ul>
                <li>
                    <div class="logo"><span>/**</span>phpDox</div>
                </li>
                <li class="separator"><a href="{$base}index.xhtml">Overview</a></li>
                <xsl:if test="count($index/pdx:namespace) &gt; 1">
                    <li class="separator"><a href="{$base}namespaces.xhtml">Namespaces</a></li>
                </xsl:if>
                <xsl:if test="count($index//pdx:interface) &gt; 0">
                    <li><a href="{$base}interfaces.xhtml">Interfaces</a></li>
                </xsl:if>
                <xsl:if test="count($index//pdx:class) &gt; 0">
                    <li><a href="{$base}classes.xhtml">Classes</a></li>
                </xsl:if>
                <xsl:if test="count($index//pdx:trait) &gt; 0">
                    <li><a href="{$base}traits.xhtml">Traits</a></li>
                </xsl:if>
                <li class="separator"><a href="{$base}reports.xhtml">Reports</a></li>
            </ul>
        </nav>
    </xsl:template>

    <!-- ######################################################################################################### -->

    <xsl:template name="footer">
        <footer>
            <span><xsl:value-of select="//pdx:enrichment[@type = 'build']/pdx:phpdox/@generated" /></span><commit_msg>honor extension configuration for top navigation<commit_after><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:pdx="http://xml.phpdox.net/src#"
                xmlns:pdxf="http://xml.phpdox.net/functions"
                exclude-result-prefixes="pdx pdxf">

    <xsl:param name="base" select="''" />
    <xsl:param name="xml" select="''" />
    <xsl:param name="extension" select="'xhtml'" />
    <xsl:param name="project" select="'phpDox generated Project'" />

    <!-- ######################################################################################################### -->

    <xsl:template name="head">
        <xsl:param name="title" select="'Overview'" />

        <head>
            <title>phpDox - <xsl:value-of select="$title" /></title>
            <link rel="stylesheet" type="text/css" href="{$base}css/style.css" media="screen" />
        </head>

    </xsl:template>

    <!-- ######################################################################################################### -->

    <xsl:template name="nav">
        <xsl:variable name="index" select="document(concat($xml,'index.xml'))/pdx:index" />
        <nav class="topnav">
            <ul>
                <li>
                    <div class="logo"><span>/**</span>phpDox</div>
                </li>
                <li class="separator"><a href="{$base}index.{$extension}">Overview</a></li>
                <xsl:if test="count($index/pdx:namespace) &gt; 1">
                    <li class="separator"><a href="{$base}namespaces.{$extension}">Namespaces</a></li>
                </xsl:if>
                <xsl:if test="count($index//pdx:interface) &gt; 0">
                    <li><a href="{$base}interfaces.{$extension}">Interfaces</a></li>
                </xsl:if>
                <xsl:if test="count($index//pdx:class) &gt; 0">
                    <li><a href="{$base}classes.{$extension}">Classes</a></li>
                </xsl:if>
                <xsl:if test="count($index//pdx:trait) &gt; 0">
                    <li><a href="{$base}traits.{$extension}">Traits</a></li>
                </xsl:if>
                <li class="separator"><a href="{$base}reports.{$extension}">Reports</a></li>
            </ul>
        </nav>
    </xsl:template>

    <!-- ######################################################################################################### -->

    <xsl:template name="footer">
        <footer>
            <span><xsl:value-of select="//pdx:enrichment[@type = 'build']/pdx:phpdox/@generated" /></span>
{'fraction_non_alphanumeric': 0.308199263423144, 'fraction_numerical': 0.0062027524714091875, 'mean_word_length': 2.467741935483871, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 137, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 18}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3196097', 'n_tokens_mistral': 1616, 'n_tokens_neox': 1439, 'n_words': 196}