Antony Quinn wrote:
I want to show the 5 words before and after "nutrient":
... The aforementioned oxygenated *nutrient* emulsion (using the
fluorocarbon FC-80) ...
The following template changes your 'nutrient' to bold:
<xsl:template match="z:e">
<xsl:value-of select="preceding-sibling::text()" />
<b>
<xsl:value-of select="." />
</b>
<xsl:value-of select="following-sibling::text()" />
</xsl:template>
Cheers,
-- Abel Braaksma
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--