after results in undesirable whitespace in particular cases; for
example, in the hg/mercurial docs
</xsl:template>
<xsl:template match="simpara">
+ <xsl:if test="not(ancestor::authorblurb) and
+ not(ancestor::personblurb)">
+ <xsl:text>.sp </xsl:text>
+ </xsl:if>
<xsl:variable name="content">
<xsl:apply-templates/>
</xsl:variable>
<xsl:value-of select="normalize-space($content)"/>
<xsl:text> </xsl:text>
- <xsl:if test="not(ancestor::authorblurb) and
- not(ancestor::personblurb)">
- <xsl:text>.sp </xsl:text>
- </xsl:if>
</xsl:template>
<!-- ==================================================================== -->