To specify a tag with colons : and namespace in Nokogiri's CSS selector, convert the colon : to a pipe |.
:
namespace
|
doc.css("namespace|tag")
Recommended Posts