Created
June 7, 2014 19:20
-
-
Save yorickpeterse/f848b62a81e249067f3b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[yorickpeterse in oga]$ pry -r ./lib/oga | |
2.1.2p95 > Oga::XPath::Parser.new('/div[@class="container"]/div[@class="review"]').parse | |
=> (xpath | |
(path | |
(name nil "div") | |
(eq | |
(axis "attribute" "class") | |
(string "container"))) | |
(path | |
(name nil "div") | |
(eq | |
(axis "attribute" "class") | |
(string "review")))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment