Subject: Re: Compact XPath syntax
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Wed, 26 Dec 2007 21:22:09 +0530
|
On Dec 26, 2007 8:02 PM, G. Ken Holman <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:
> Have you considered instead the following equivalent addresses:
>
> //b/c
> //f/c
This is also good ...
>
> >or //c (if you want to select all 'c' elements everywhere in the tree).
>
> Remembering, though, in all the above cases that "//" can be an
> expensive XPath address and should be used sparingly.
I agree strongly to this.
--
Regards,
Mukul Gandhi
|