Subject: Re: DSSSL->XSLT; problems implementing node-list-first/node-list-rest
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Tue, 27 Mar 2001 14:00:56 +0100
|
I should also have mentioned why you want
select="$nl[not(position() = 1)]"
rather than
select="$nl/*[not(position() = 1)]"
if $nl is a nodeset rather than an element then you get top-level
subsets by applying predicates directly to the variable, not to its
children.
Francis.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|