I am trying to enumerate this xml (sample):
<SearchSuggestion xmlns="http://opensearch.org/searchsuggest2" version="2.0">
<Query xml:space="preserve">Relativity</Query>
<Section>
<Item>
<Text xml:space="preserve">Relativity</Text>
<Url xml:space="preserve">https://en.wikipedia.org/wiki/Relativity</Url>
</Item>
<Item>
<Text xml:space="preserve">Relativity priority dispute</Text>
<Url xml:space="preserve">https://en.wikipedia.org/wiki/Relativity_priority_dispute</Url>
</Item>
....
using:
XmlNodeList nItems = rssDoc.SelectNodes("/SearchSuggestion/Section/Item")
But it is yielding no results. Can anyone tell me why?