I\'m fairly new to XPath, been fiddling around with it for a few hours now, so i\'m not entirely sure if you can even do something like the following with it.
Correct me if i'm wrong - you need select "second drop down menu" from example above, but text can be duplicated, so you need only second one. XPath:
//a[text()='second drop down menu'][2]