Wednesday, March 31, 2010

Nokogiri: DOM vs XPATH...

... FIGHT!

In the one corner: The object-oriented approach to selecting certain child nodes,
 node.children.filter( "criteria" )


In the other corner: XPath,
 node.xpath( "criteria" )


Who will be the champion?

It's a knockout! XPath just wipes the floor with its opponent!

No comments: