W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > January to March 2004

Descendant vs //

From: Koffina Ioanna <koffina@ics.forth.gr>
Date: Thu, 8 Jan 2004 18:58:27 +0200 (EET)
To: w3c-ietf-xmldsig@w3.org
Message-ID: <Pine.GSO.4.58.0401081839190.27706@calliope>


I would like to ask the following question:

according to xpath's specification these are not generally equal.

Except the case of element position
i.e.
//para[1] and /descendant::para[1]
where there is a difference (as stated in the specification), is there any
other case where they are not equal;
i.e
//a[@b=3] , /descendant::a[@b=3]

//a/b, /descendant::a/b

Thank you,
Ioanna.
Received on Friday, 9 January 2004 04:33:14 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:18 GMT