Closed renechz closed 10 years ago
It seems Nokogiri::XML::NodeSet#css already supports XPath queries, by parsing the CSS selector to XPath.
Using Nokogiri::XML::NodeSet#search makes it more explicit that XPath can be used.
Nokogiri::XML::NodeSet#search
Nice :smiley: gracias
It seems Nokogiri::XML::NodeSet#css already supports XPath queries, by parsing the CSS selector to XPath.
Using
Nokogiri::XML::NodeSet#search
makes it more explicit that XPath can be used.