Get depth of an element after xpath query

Is there a way to obtain the depth of an element after an xpath query ? I am interested in finding the position of an element in a hierarchy of elements.

Hi,
Is there a way to obtain the depth of an element after an xpath query ? I am interested in finding the position of an element in a hierarchy of elements.
Yes. Please try to bring some sample code like this to show what you want to accomplish.
jens -- qdevelop Softwareentwicklung Jens Quade und Peter Quade GbR On 21.11.2013, at 15:01, Bogdan Cristea <cristeab@gmail.com> wrote:

Hi,
Is there a way to obtain the depth of an element after an xpath query ? I am interested in finding the position of an element in a hierarchy of elements.
Yes. Please try to bring some sample code like this to show what you want to accomplish.
jens -- qdevelop Softwareentwicklung Jens Quade und Peter Quade GbR On 21.11.2013, at 15:01, Bogdan Cristea <cristeab@gmail.com> wrote:
participants (2)
-
Bogdan Cristea
-
jens quade