OK

Thanks for the pointers, I will go with the iteration then.

Thanks
 
Amir
 

> -----Original Message-----
> From: Jukka Zitting [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 08, 2007 7:59 AM
> To: [email protected]
> Subject: Re: Finding out if node is a last child of a parent
> 
> Hi,
> 
> On 8/8/07, Amir Mistric <[EMAIL PROTECTED]> wrote:
> > Now the question is - what is *faster* - iterating or 
> xpath? What do you think?
> 
> Iterating will definitely be faster, unless your node 
> hierarchy is very flat (i.e. lots of child nodes per parent) 
> which is discouraged in any case.
> 
> I agree that the solution is suboptimal, but it's about the 
> best you can do with the current API.
> 
> BR,
> 
> Jukka Zitting
> 

Reply via email to