Bruno LLopes wrote:
hi all,
How can a get the last node of one sequence ? there is any function? or I
have to create a recursive one?
I have the fucntion last() but give the number , and I want the node..
Where can I find a fast guide with all function's that can possible used in
xslt ?
With the simple position()=last() test, you can select the last node...
Is this you want to ?
<xsl:template match="/">
<xsl:apply-templates select="//mynode[position()=last()]"/>
</xsl:template>
will drive the transformation to the last 'mynode' node...
Fred
--
XPath free testing software : http://lantern.sourceforge.net
Frédéric Laurent http://www.opikanoba.org
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list