This template will probably work (to match last 'p' element)
<xsl:template match="p[not(following-sibling::p)]">
<!-- template contents -->
</xsl:template>
Only if all the p elements are siblings (in which case p[last()] would also
work).
The following should always work:
<xsl:template match="p[not(following::p)]">
<!-- template contents -->
</xsl:template>
Michael Kay
--~------------------------------------------------------------------
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>
--~--