couldn't one get there with, say,
sequence-before(sequence, item+)
and the corresponding sequence-after,
by analogy to substring?
One could then write,
sequence-before($sequence, $sequence[some-expr])
...I think you could do that now with subsequence and index-of eg:
subsequence($seq, 1, index-of($seq, some-expr))
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
--~------------------------------------------------------------------
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>
--~--