I've been trying to test a web application that generates html id's with a random value in the middle. For instance: attribute\_new\_12493044135\_name
The attribute defines the class of object that I want to find and the "name" is the unique part of this string. The problem is that I don't have Xpath 2.0 and thus can't use ends-with on the script. 
Can anyone help? I've tried to use Selenium Webdriver and IDE, and couldn't find an answer.