This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: What does 'reverse document order' mean?
In message <200011150925.JAA03249@hereford.nag.co.uk>, David Carlisle
<davidc@nag.co.uk> writes
>You did
> <xsl:variable name="sibling-preceders" select="preceding-sibling::elt"/>
> <xsl:for-each select="$sibling-preceders">
> <xsl:value-of select="."/> <xsl:if test="position()<last()">
>
>which is like
>
>(preceding-sibling::elt)[position() < last()]
>
>so position() and last() refer to document order here.
>etc.
Wonderful! Many thanks,
Richard Light.
Richard Light
SGML/XML and Museum Information Consultancy
richard@light.demon.co.uk
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list