Subject: Re: [xsl] Saxon processing problem... From: Eliot Kimber <ekimber@xxxxxxxxxxxx> Date: Sun, 30 Mar 2008 10:07:38 -0500 |
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.
Eliot -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 610.631.6770 www.reallysi.com www.rsuitecms.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Saxon processing problem., Michael Kay | Thread | RE: [xsl] Saxon processing problem., Michael Kay |
RE: [xsl] Saxon processing problem., Robert Koberg | Date | RE: [xsl] Saxon processing problem., Michael Kay |
Month |