Re: [xsl] Re: position last and attributes

Subject: Re: [xsl] Re: position last and attributes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 26 Sep 2012 12:52:11 +0100
On 26/09/2012 12:38, Ihe Onwuka wrote:
.[position() + 1]

That will always return an empty sequence as a numeric predicate [p] is shorthand for [position()=p] so the above is


.[position()=position()+1]

so the filter always evaluates to false.

David


-- google plus: https:/profiles.google.com/d.p.carlisle

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________


Current Thread