Last active
October 30, 2017 18:31
-
-
Save kbshl/6a5497007eb017b994f4ee10552bdc33 to your computer and use it in GitHub Desktop.
XPath Select node based on text content - From http://stackoverflow.com/questions/1982624/using-xpath-how-do-i-select-a-node-based-on-its-text-content-and-value-of-an-at
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# //FIRST_SELECTOR/SECOND_SELECTOR[text()='SEARCH_WORD'] | |
# example: | |
/DocText/WithQuads/Page/Word[text()='July'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment