jnicklas/xpath — pull request #53 by akarzim (2013-06-26 10:17:29+00:00)
Title: add data shortcut for attribute expression

A new feature being introduced in HTML 5 is the addition of custom data attributes.

As example :

```html

Akarzim says: Hello, how are you?

```

With this new expression, as a shortcut of `XPath.attr(:"data-name")` now we can use `XPath.data(:name)`