Read a XML element value
Hi all,
I have a xml file like this,
<RepositorySearch>
<Fields>
<ID>1</ID>
<SearchName>search name 1</SearchName>
<DocumentName>doc name 1</DocumentName>
<DocumentDescription>f</DocumentDescription>
<DocumentType></DocumentType>
</Fields>
<Fields>
<ID>2</ID>
<SearchName>search name 2</SearchName>
<DocumentName>doc name 2</DocumentName>
<DocumentDescription>descrip 2</DocumentDescription>
<DocumentType></DocumentType>
</Fields>
</RepositorySearch>
:(
in this above, i have to check wether my input string is equal to any of the value of SearchName tag if they match ....I have to extract the below document name and documentDescription values....
urgent help plz guide me....
Thanks a million in advance..:((
|