[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Subsets


Subject: Re: [xsl] Subsets
From: Robert C Corsaro <rcorsaro@xxxxxxxxxxx>
Date: Mon, 23 Apr 2007 16:02:14 -0400

Michael Kay wrote:
I think I got it. node[position() > 1] ... right?

That will give you all nodes of type node in the current context except the first, if that is what you needed, then: yes.

Alternative formulations in XSLT 2.0 are


subsequence(nodes, 2)

remove(nodes, 1)
thanks, that's what I needed :)

Michael Kay http://www.saxonica.com/


Current Thread
Keywords