Standardize indentation of XSL files

Predominant standard is two spaces, so adjust outliers to that.
This commit is contained in:
Peter Eisentraut 2012-04-24 21:40:07 +03:00
parent 8bd44677df
commit 2856c51c86

View File

@ -41,13 +41,13 @@
the man page to read about it. --> the man page to read about it. -->
<xsl:when test="contains(refnamediv/refname[1],' ')"> <xsl:when test="contains(refnamediv/refname[1],' ')">
<xsl:variable name="mangled.title"> <xsl:variable name="mangled.title">
<xsl:value-of select="translate(refnamediv/refname[1],' ','_')"/> <xsl:value-of select="translate(refnamediv/refname[1],' ','_')"/>
</xsl:variable> </xsl:variable>
<xsl:apply-templates select="refnamediv/refname[1]"/> <xsl:apply-templates select="refnamediv/refname[1]"/>
<xsl:text> (</xsl:text> <xsl:text> (</xsl:text>
<xsl:call-template name="bold"> <xsl:call-template name="bold">
<xsl:with-param name="node" select="exsl:node-set($mangled.title)"/> <xsl:with-param name="node" select="exsl:node-set($mangled.title)"/>
<xsl:with-param name="context" select="."/> <xsl:with-param name="context" select="."/>
</xsl:call-template> </xsl:call-template>
<xsl:apply-templates select="refmeta/manvolnum"/> <xsl:apply-templates select="refmeta/manvolnum"/>
<xsl:text>)</xsl:text> <xsl:text>)</xsl:text>
@ -58,16 +58,16 @@
<xsl:otherwise> <xsl:otherwise>
<xsl:choose> <xsl:choose>
<xsl:when test="refmeta/refentrytitle"> <xsl:when test="refmeta/refentrytitle">
<xsl:call-template name="bold"> <xsl:call-template name="bold">
<xsl:with-param name="node" select="refmeta/refentrytitle"/> <xsl:with-param name="node" select="refmeta/refentrytitle"/>
<xsl:with-param name="context" select="."/> <xsl:with-param name="context" select="."/>
</xsl:call-template> </xsl:call-template>
</xsl:when> </xsl:when>
<xsl:otherwise> <xsl:otherwise>
<xsl:call-template name="bold"> <xsl:call-template name="bold">
<xsl:with-param name="node" select="refnamediv/refname[1]"/> <xsl:with-param name="node" select="refnamediv/refname[1]"/>
<xsl:with-param name="context" select="."/> <xsl:with-param name="context" select="."/>
</xsl:call-template> </xsl:call-template>
</xsl:otherwise> </xsl:otherwise>
</xsl:choose> </xsl:choose>
<xsl:apply-templates select="refmeta/manvolnum"/> <xsl:apply-templates select="refmeta/manvolnum"/>