This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XSL/XPath expression


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]