- From: Mary Fernandez <mff@research.att.com>
- Date: 09 Feb 2004 14:39:25 -0500
- To: Murali Mani <mani@CS.UCLA.EDU>
- Cc: Michael Kay <Michael.Kay@softwareag.com>, Michael Brundage <xquery@comcast.net>, Jim Tivy <jimt@bluestream.com>, Jiang Ming Fei <mfjiang@cse.cuhk.edu.hk>, www-ql@w3.org
On Mon, 2004-02-09 at 14:23, Murali Mani wrote: > thanks, that helps. if the below two are equivalent; then we do not really > need separate axis. This is convenient. > > > > rough example: manager of managers: > > > Id(Id(//Employee/@ReportsTo)/@ReportsTo) > > > > You can write this as > > > > //Employee/id(@ReportsTo)/id(@ReportsTo) > > I suppose the above semantics is also correct, with duplicate elimination; > no employee will be returned multiple times? Correct. All path expressions yield a sequence of nodes in document order with no duplicates. -- Mary Fernandez <mff@research.att.com> AT&T Labs - Research
Received on Monday, 9 February 2004 14:37:07 UTC