Subject: [xsl] Re: "position()" inside a sorted apply-templates (Akin to: sorted for-each: preceding::sibling is not in sort order) From: iwantto keepanon <iwanttokeepanon@xxxxxxxx> Date: Wed, 16 Nov 2005 05:56:49 +0300 (MSK) |
> So the last entry element (let's say 5) showed a position() of 1 ... which > surprised me. I expected to > have to reverse the number with "$total-photos - position() + 1". > > So the axes go in document order but functions do not? I am using libxslt > 1.0. One more thought, could the OP just retireve a unique attrib/element from the element .../[position()- 1], say id or guid, and xpath back to the desired element in the document? Just a thought ... -- Rodman
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] "position()" inside a sor, Geert Josten | Thread | [xsl] Making libxslt-1.1.15 with li, Young Bu Bae |
[xsl] "position()" inside a sorted , iwantto keepanon | Date | RE: [xsl] Need to create a line gra, Kaila Kaarle |
Month |