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

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<xsl:import href="@DOC_XSL_PREFIX@/html/docbook.xsl"/>

<xsl:output indent="yes"/>

<xsl:param name="chunk.section.depth" select="2"/>
<xsl:param name="chunk.quietly" select="1"/>
<xsl:param name="chunk.first.sections" select="1"/>
<xsl:param name="generate.section.toc.level" select="3"/>

<xsl:param name="html.stylesheet">weechat-doc.css</xsl:param>

<xsl:template name="tr.attributes">
  <xsl:param name="row" select="."/>
  <xsl:param name="rownum" select="0"/>

  <xsl:if test="not(ancestor::table/@tabstyle = 'unstriped')">
    <xsl:if test="$rownum mod 2 = 0">
      <xsl:attribute name="class">oddrow</xsl:attribute>
    </xsl:if>
  </xsl:if>
</xsl:template>

</xsl:stylesheet>
