Imagine this XML file (sorry for sick example!!)
<DOC>
<Test>
<Name>1 vs 100 Pre pre History</Name>
<Type>Dinasors</Type>
</Test>
<Test>
<Name> 1 vs 100 Post moderns</Name>
<Type>Aliens</Type>
</Test>
</Doc>
The idea is returning the Type value, By checking if Name node contains a specific character or string. For example I want a XPath Query like:
/Doc//Test[contains "Pre" and "History" and 1]/Type
That is check if Test contains "Pre" and "History" and number 1, What will be the xpath query? Alo I like this query to not be CASE SENSITIVE.
Thanks.