[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xsl-list
Subject:    Re: [xsl] Re: position last and attributes
From:       David Carlisle <davidc () nag ! co ! uk>
Date:       2012-09-26 11:52:11
Message-ID: 5062EC6B.1030504 () nag ! co ! uk
[Download RAW message or body]

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. 
________________________________________________________________________

--~------------------------------------------------------------------
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@lists.mulberrytech.com>
--~--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic