[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: "position()" inside a sorted apply-templates (Akin
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! 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
|