xsl-list
[Top] [All Lists]

Re: [xsl] Subsets

2007-04-23 13:22:18
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/


--~------------------------------------------------------------------
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>
--~--



--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>