P
Phani
Hi all,
I am new to XPath. I have a doubt in it.
My xml is like this:
<UserInfo>
<Contacts>
<Name>Chris Bob</Name>
</Contacts>
<Contacts>
<Name>Mike Chris</Name>
</Contacts>
<Contacts>
<Name>Chris</Name>
</Contacts>
<Contacts>
<Name>Chrisine</Name>
</Contacts>
<Contacts>
<Name>Kiran Kumar</Name>
</Contacts>
<Contacts>
<Name>Kumar</Name>
</Contacts>
</UserInfo>
So, i want to search for all names with the value in enter in html text
box.
If i enter Kumar then the last two nodes should come as it has kumar in
it. Similarly if i enter Chris then first three nodes should display,
but the fourth one should not come.
Is this possible. Please help me on how to do it.
--Phani
I am new to XPath. I have a doubt in it.
My xml is like this:
<UserInfo>
<Contacts>
<Name>Chris Bob</Name>
</Contacts>
<Contacts>
<Name>Mike Chris</Name>
</Contacts>
<Contacts>
<Name>Chris</Name>
</Contacts>
<Contacts>
<Name>Chrisine</Name>
</Contacts>
<Contacts>
<Name>Kiran Kumar</Name>
</Contacts>
<Contacts>
<Name>Kumar</Name>
</Contacts>
</UserInfo>
So, i want to search for all names with the value in enter in html text
box.
If i enter Kumar then the last two nodes should come as it has kumar in
it. Similarly if i enter Chris then first three nodes should display,
but the fourth one should not come.
Is this possible. Please help me on how to do it.
--Phani