Subject:XSL , XPATH Every fourth article Author:lemon man Date:06 Jan 2006 08:14 PM
How can i specify to find every fourth item starting from 1 usiong an xpath expreesion? I've been racking my brain for a few hours on this and can't seem to find out how to set the variable.
i was going to try using each individual case like this
[(position() = 1) or (position() = 5) or (position() = 7) or (position() = 9) etc etc .....
But i know there must be some way to expres this programatically.
Any help would be much appreciated.
Thanks for any help anyone can provide.