W3C home > Mailing lists > Public > www-ql@w3.org > July to September 2004

Are these two xpath expression equal?

From: Fianny Jiang <mfjiang@cse.cuhk.edu.hk>
Date: Fri, 3 Sep 2004 19:08:38 +0800
Message-ID: <000801c491a6$5d773a70$585abd89@Fianny>
To: <www-ql@w3.org>

   I am puzzled whether the following two XPaht expressions will return the same result.
  (1)  A[B/C]/B/D
  (2)  A/B[C]/D
  Or in other words, will (1) require that the matched pattern should have two different B's?  That is C and D should have different B as their parent. 
  Thanks alot. 

Received on Tuesday, 31 August 2004 11:09:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:43:43 UTC