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: sorting and grouping - can't get it to work


I wrote:

> You will need to say select="xx:node-set($var)"
>instead of just select="$var"

Advice which I seem to have forgotten by the time I wrote

>Change this to
>    <xsl:for-each select="$var/item[position() mod 2 = 1]">

Which should of course be
      <xsl:for-each select="xx:node-set($var)/...

Trevor Nash

--
Traditional training & distance learning,
Consultancy by email

Melvaig Software Engineering Limited
voice:     +44 (0) 1445 771 271 
email:     tcn@melvaig.co.uk

 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]