This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: DSSSL->XSLT; problems implementing node-list-first/node-list-rest


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]