This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSL/XPath expression
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] XSL/XPath expression
- From: Eriksson Magnus <Magnus dot eriksson at softronic dot se>
- Date: Wed, 16 May 2001 17:46:04 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
Thanks to all for the quick help!
I eventually opted for this variant, which I think best suited my needs:
<xsl:template match="Element[@Type=2]">
<xsl:if test="not(preceding-sibling::Element[@Type=2])">
do something
</xsl:if>
</xsl:template>
Thanks again.
/Magnus Eriksson
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list