Saturday, 17 August 2013

Nokogiri doc search ignore tag type?

Nokogiri doc search ignore tag type?

Looking at the nokogiri documentation, I see where I can ignore certain
ids and classes with: not(contains(@class, "ignore_class"), but I was
curious if there was a way to do searches that ignore a certain tag type?
Specifically I want to do a document search but not pick up things like
<del> or <strike> nodes.

No comments:

Post a Comment