[Home] [By Thread] [By Date] [Recent Entries]
David Carlisle wrote:
(ah, I see that David beat me to it with a much shorter approach ;) That's a beauty! Reading it, I much like the shortcut of deatil/po(if ...) etc. I then hoped, that the if-statement could be replaced with a predicate, but that wouldn't work, as the position() will then be about the sequence and not the element, like here: detail/po/(('*', ' REC2*')[position() mod 2 + 1], string()) and even if it worked, it'd be questionable whether it'd be clearer than the if-syntax.
|

Cart



