<commit_before><?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
version="1.0" 
xmlns:ni="xalan://org.apache.xalan.lib.NodeInfo"
exclude-result-prefixes="ni">
 
<xsl:output
method="xml"
indent="yes"
encoding="utf-8"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-1-transitional.dtd"/>

<xsl:param name="basedir"/>
<xsl:param name="branding"/>
<xsl:variable name="brand" select="document(concat($branding,'/branding.xml'))/brand"/>
<xsl:param name="outputext"/>
<xsl:param name="sourceref"/>
<xsl:variable name="source" select="substring-after(ni:systemId(),concat($sourceref,'/'))"/>

<xsl:include href="menu.xsl"/>
<xsl:include href="docbook.xsl"/>

<xsl:template match="/">
    <html>
    <head>
    <title><xsl:value-of select="$brand/title"/></title>
    <xsl:for-each select="$brand/stylesheet">
        <link rel="stylesheet" type="text/css" href="{concat($basedir, '/', @file)}" media="screen,screen"/>
    </xsl:for-each>
    <xsl:for-each select="$brand/meta">
        <meta>
        <xsl:copy-of select="@*"/>
        </meta>
    </xsl:for-each>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <!-- The space below is for Netscape 4 (to avoid generating <script/>) -->
    <script type="text/javascript" src="{$basedir}/style/footer.js"> </script>
    </head>

    <body>
    <div id="header"><commit_msg>Fixed hack<commit_after><?xml version="1.0" encoding="utf-8"?>

<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
version="1.0" 
xmlns:ni="xalan://org.apache.xalan.lib.NodeInfo"
exclude-result-prefixes="ni">
 
<xsl:output
method="xml"
indent="yes"
encoding="utf-8"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-1-transitional.dtd"/>

<xsl:param name="basedir"/>
<xsl:param name="branding"/>
<xsl:variable name="brand" select="document(concat($branding,'/branding.xml'))/brand"/>
<xsl:param name="outputext"/>
<xsl:param name="sourceref"/>
<xsl:variable name="source" select="substring-after(ni:systemId(),concat($sourceref,'/'))"/>

<xsl:include href="menu.xsl"/>
<xsl:include href="docbook.xsl"/>

<xsl:template match="/">
    <html>
    <head>
    <title><xsl:value-of select="$brand/title"/></title>
    <xsl:for-each select="$brand/stylesheet">
        <link rel="stylesheet" type="text/css" href="{concat($basedir, '/', @file)}" media="screen,screen"/>
    </xsl:for-each>
    <xsl:for-each select="$brand/meta">
        <meta>
        <xsl:copy-of select="@*"/>
        </meta>
    </xsl:for-each>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <!-- The ; below is for Netscape 4 (to avoid generating <script/>) -->
    <script type="text/javascript" src="{$basedir}/style/footer.js">;</script>
    </head>

    <body>
    <div id="header">
{'fraction_non_alphanumeric': 0.22986969595723356, 'fraction_numerical': 0.01670564650851988, 'mean_word_length': 4.493577981651376, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 2, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 12}, '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': '5234341', 'n_tokens_mistral': 1159, 'n_tokens_neox': 1058, 'n_words': 160}