|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Saxon processing problem...
> select="*/tbody/row[position() mod $grp-size=1]. > > And this expression looks a little fishy since $grp-size=1 > will return a boolean value which is probably not a > meaningful argument for "mod". > Eliot's other comments are all valid but this one's wrong, I think. The "mod" operator has higher precedence than "=". Mind you, it would probably be worth writing it as [(position() mod $grp-size) = 1] so that other people reading your code don't make the same mistake. Michael Kay http://www.saxonica.com/
|
Back To School Sale!Save 30% off all Stylus Studio 2008 Products when you purchase from our Online Shop. Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






