Are these two xpath expression equal?

Hi,

   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. 

Regards,
Fianny 
   

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