Skip to content

Commit

Permalink
adjust titles
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-n-cooper committed May 16, 2018
1 parent 4bdeedb commit d2e04ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions xslt/generate-understanding.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -174,39 +174,39 @@
<xsl:template match="html:section[@id = 'intent']">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<h2>Intent of <xsl:call-template name="name"/></h2>
<h2>Intent</h2>
<xsl:apply-templates select="html:*[not(wcag:isheading(.) or @id = 'benefits')]"/>
</xsl:copy>
</xsl:template>

<xsl:template match="html:section[@id = 'benefits']">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<h2>Benefits of <xsl:call-template name="name"/></h2>
<h2>Benefits</h2>
<xsl:apply-templates select="html:*[not(wcag:isheading(.))]"/>
</xsl:copy>
</xsl:template>

<xsl:template match="html:section[@id = 'examples']">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<h2>Examples of <xsl:call-template name="name"/></h2>
<h2>Examples</h2>
<xsl:apply-templates select="html:*[not(wcag:isheading(.))]"/>
</xsl:copy>
</xsl:template>

<xsl:template match="html:section[@id = 'resources']">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<h2>Resources <xsl:call-template name="name"/></h2>
<h2>Related Resources</h2>
<xsl:apply-templates select="html:*[not(wcag:isheading(.))]"/>
</xsl:copy>
</xsl:template>

<xsl:template match="html:section[@id = 'techniques']">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<h2>Techniques for <xsl:call-template name="name"/></h2>
<h2>Techniques</h2>
<xsl:apply-templates select="html:*[not(wcag:isheading(.))]"/>
</xsl:copy>
</xsl:template>
Expand Down

0 comments on commit d2e04ea

Please sign in to comment.