Re: [Bug 29355] New: Modernize sequence filtering

On 03/01/2016 21:22, bugzilla@jessica.w3.org wrote:
> With 2. and 3. you can write $sequence[2 to 10 by 3] to get the (2,5,8)-th
> elements.

The existing xpath 2 syntax

$sequence[position() le 10][position() mod 3 =2]

seems simpler (but more general) and doesn't require new syntax.

David

________________________________


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 Microsoft Office 365.

________________________________

Received on Monday, 4 January 2016 01:51:08 UTC