In the document i'm querying i clearly have the element and attribute <security class="3"> so i can't see why it's not finding it. I've debugged and it's looking in the right place for the file etc. Help appreciated. Thank you.

Re: sgmlReader - why is my query finding no results

Posted 20 February 2013 - 06:02 AM

It's several levels down, Skydiver. The query actually needs to be able to find any element at any level, so in other words i need to be able to search for any element and the query should find it regarless of position. Can you give me a clue as to how i achieve this please?

Re: sgmlReader - why is my query finding no results

Re: sgmlReader - why is my query finding no results

Posted 20 February 2013 - 07:12 AM

No problem asking.

I'm just trying to encourage people to take time to read documentation because there will be bits of information there that will either point you to a more efficient way of doing something, or warn you that using some classes/methods in some contexts are contraindicated (ex. using the Office Interop objects/classes within ASP.NET is highly discouraged).