This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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()&lt;last()"> 
>
>which is like 
>
>(preceding-sibling::elt)[position() &lt; 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]