Reputation: 15
What is the XPATH I should use to extract only the inner text present in all the div elements.
Upvotes: 1
Views: 183
Reputation: 437
//div/descendant-or-self::*/text()
Expression gives all text in does not matter how deep inside.
Upvotes: 1