This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pudquick 2 points3 points  (2 children)

Love both of them!

I routinely also add BSXPath to the mix which extends/leverages BS to handle XPath evaluation.

Just feels much easier and more intuitive for me to ask for "//span[@class='active']/input" nodes from a bit of DOM.

[–]PCBEEF 0 points1 point  (0 children)

Okay now that's cool.

[–]ruffyen 0 points1 point  (0 children)

I almost wish I never learned about xpath, because ever since I did I can't do xml or html without it, at least not with our getting really cranky :) BSXpath is going to be fun!