i have a bunch of xpaths
/html/body/div/a
/html/body/p
/html/body/h1/p/div/a
/html/body/div/div/div/div/a
/html/body/a
....
and so on....
i need to find the lowest common ancestor from the xpaths provided...
using nokogiri.
i have a bunch of xpaths
/html/body/div/a
/html/body/p
/html/body/h1/p/div/a
/html/body/div/div/div/div/a
/html/body/a
....
and so on....
i need to find the lowest common ancestor from the xpaths provided...
using nokogiri.