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 - ResearchReceived on Monday, 9 February 2004 14:37:07 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:19 GMT