I am trying to find a certain text in any text node in a document, so far my statement looks like this:
doc.xpath("//text() = 'Alliance Consulting'") do |node| ... end
This obviously does not work, can anyone suggest a better alternative?