[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How to get page range within a group


Subject: Re: [xsl] How to get page range within a group
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 12 Sep 2008 15:48:21 +0100

> The next time someone asks for questions for a test, that's a nice
> (but unfair) one to suggest.

nah it's too easy as its explictly highlighted in the spec:-)

http://www.w3.org/TR/xpath20/#abbrev

Note:

The path expression //para[1] does _not_ mean the same as the path
expression /descendant::para[1]. The latter selects the first descendant
para element; the former selects all descendant para elements that are
the first para children of their respective parents. 

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 Star. The service is
powered by MessageLabs. 
________________________________________________________________________


Current Thread