|
Subject: Re: Problem in search of solution From: Mike Brown <mike@xxxxxxxx> Date: Thu, 15 Jun 2000 23:00:40 -0600 (MDT) |
> I'm trying to produce something such that only the last line will have the
> space-after.optimum attribute. Any ideas how can I do this?
<xsl:template match="section_head">
<xsl:for-each select="line">
<fo:block font-weight="bold" font-size="12pt">
<xsl:if test="position()=last()">
<xsl:attribute name="space-after.optimum">0.25in</xsl:attribute>
</xsl:if>
<xsl:value-of select="." />
</fo:block>
</xsl:for-each>
</xsl:template>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Problem in search of solution, Carlos Araya | Thread | Re: Problem in search of solution, Nikolai Grigoriev |
| Problem in search of solution, Carlos Araya | Date | preserving quot signs, Nielsen, Anders Rola |
| Month |