Subject: Re: General rule for designing XPath expressions to return items in document order?
From: "Tony Graham" <tgraham@xxxxxxxxxx>
Date: Wed, 8 Jan 2014 11:20:13 -0000 (GMT)
|
On Wed, January 8, 2014 11:04 am, David Carlisle wrote:
> On 08/01/2014 10:48, Tony Graham wrote:
>> Put '/.' at the end:
>
> It's not needed: the / in the middle already ensures document order (for
> the same reason).
Well, he did ask for a general rule.
Regards,
Tony Graham tgraham@xxxxxxxxxx
Consultant http://www.mentea.net
Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
XML, XSL-FO and XSLT consulting, training and programming
Chair, Print and Page Layout Community Group @ W3C
|