Skip to content

Commit

Permalink
xslt: Added underline class to H2s
Browse files Browse the repository at this point in the history
  • Loading branch information
rdworth committed Jul 26, 2011
1 parent ea759e0 commit 65a9f28
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions entries2html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,17 @@
</li>
</ul>
</nav>
<header>
<h1>
<xsl:value-of select="@name"/>
</h1>
</header>
<section id="overview">
<header>
<h2>Overview</h2>
<h2 class="underline">Overview</h2>
</header>
<p>
<xsl:copy-of select="longdesc/node()"/>
</p>
</section>
<section id="options">
<header>
<h2>Options</h2>
<h2 class="underline">Options</h2>
</header>
<ul>
<xsl:for-each select="options/option">
Expand Down Expand Up @@ -98,7 +93,7 @@
</section>
<section id="methods">
<header>
<h2>Methods</h2>
<h2 class="underline">Methods</h2>
</header>
<ul>
<xsl:for-each select="methods/method">
Expand All @@ -116,7 +111,7 @@
</section>
<section id="events">
<header>
<h2>Events</h2>
<h2 class="underline">Events</h2>
</header>
<ul>
<xsl:for-each select="events/event">
Expand All @@ -134,13 +129,13 @@
</section>
<section id="theming">
<header>
<h2>Theming</h2>
<h2 class="underline">Theming</h2>
</header>
<xsl-copy-of select="theming/node()"/>
</section>
<section id="examples">
<header>
<h2>Example<xsl:if test="$number-examples &gt; 1">s</xsl:if></h2>
<h2 class="underline">Example<xsl:if test="$number-examples &gt; 1">s</xsl:if></h2>
</header>
<xsl:for-each select="example">
<h4>
Expand Down

0 comments on commit 65a9f28

Please sign in to comment.