Given the xml snippet below, I would like an XPath expression to do the following: Get all property nodes where any text within the child nodes matches an input value. For example, if the input value is "liberty-pike," the first property node would be returned.
Expand|Select|Wrap|Line Numbers
- <properties>
- <property id="89002028">
- <name>Carothers, John Henry, House</name>
- <name>Carothers,Ezeal,House</name>
- <address>Liberty Pike</address>
- <city>Franklin</city>
- <state>TN</state>
- </property>
- <property id="80000438">
- <name>Dighton Rock</name>
- <address>Across the Taunton River from Dighton in Dighton Rock State Park</address>
- <city>Dighton</city>
- <state>MA</state>
- </property>
- </properties>