Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

search within xml

Status
Not open for further replies.

annam1

Programmer
Sep 29, 2008
1
GB
Hello.

i need to set up a search facility on my site, to search for keywords within an xml file. if the keyword is found i'll then need to return the parent nodes (depending on how far within the xml the keyword is i may need the grandparents etc) so that i can display the full text.

i have no idea if this is fairly beginner stuff or if its difficult to do..

any ideas on where i should start?

many tnx
 
Probably the easiest way is
Dim xmldset as new dataset
xmldsset.ReadXML(path to file)
then put dataset in to a dataview and filter.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top