jnicklas/xpath — pull request #39 by excepttheweasel (2012-02-05 19:32:20+00:00)
Title: Add support for xpath starts-with function

Added tests and support for the starts-with function of xpath, e.g:

x.descendant(:*).where(x.attr(:id).starts_with('foo'))

I based the tests on the ones for contains, let me know if they're thorough enough.