Did you try?...
//*[@id='elementId_0']//*[@id='main']
Jake
On 5/25/2010 3:06 PM, Misha Koshelev wrote:
> Dear All:
>
> Thank you for all your help. I am again adding your product to my automation framework
> www.mkosh.com
>
> Specifically, as element IDs do not seem to be easily retrievable with getElementById(), I have decided to
> utilize a combined XPath approach.
>
> I am using what I am learning about XPath from:
> http://www.w3schools.com/xpath/xpath_syntax.asp
>
> It seems like a statement as:
> *[@id='elementId_0']//*[@id='main']
>
> Should be kosher to find all elements that are descendants of element A with id main, where element A is the
> element in the main document that has elementId_0
>
> However, for some reason I am not getting the desired results
>
> Any ideas?
>
> Thank you
> Misha
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> nekohtml-user mailing list
> nek...@li...
> https://lists.sourceforge.net/lists/listinfo/nekohtml-user
>
>
>
|