While I did go on a bit of a rant before about relative xpaths and efficiency, there's always a balance between convenience/reliability and performance. Xpaths like this tend to break quite easily.

I would suggest `.//form[@name="find_similar_form"]//input[starts-with(@name, "document_type")][1]/following-sibling::a[1]`, which should get you immediately to the first document type listed