KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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?
Tags (comma-separated)
Save Edits
Cancel