How to create XPATH for a HTML DOM element? for example, "/HTML/BODY/DIV[1]/TABLE[1]/TR[2]/TD[1]/INPUT".

Given an DOM element how to get this XPATH string? Any ideas?

Thanks,

Dattebayo.

Edit
Report