On 2011-10-28 20:17, Liam R E Quin wrote:
On Fri, 2011-10-28 at 10:27 -0400, Murray McDonald wrote:
If you are sure that there will be one and only one "match" then the '[1]'
is unnecessary
index-of(//book, //book[ends-with(., 'ASTRO_00007.JPG')])[1]
On the other hand, the difference between /a/b/c[1] and (/a/b/c)[1] is a
major source of confusion for the newcomer and the "perpetual
intermediate" [1] alike.
Thanks for confusing the perpetual intermediate with a [1] that looks
like a positional predicate but that actually is a citation link. Pun
intended?
Sometimes you have to make the computer work a little harder if it means
getting the right answer more often.
Agree [+1].
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--