I am using XPathReader 1.1, a free download:
http://msdn2.microsoft.com/en-gb/library/ms950778.aspx
....I am building C# on 64bit Windows 2k3, and I am having problems when I
use the XmlPathCollection.Add() method **after** I have already started using
"ReadUntilMatch()." Basically, all XPath expressions added dynamically this
way "after the fact" wil fail to match, unless they are EXACTLY of this form:
//<child>
So, it will fail if I do any of these:
//<child>/<grandchild>
//@<attribute>
../<child>
I thought perhaps there is some kind of "re-initialize" method I need to
call, but I can't find any such thing (nor does the literature suggest it).
I've also tried both forms of the XmlPathCollection.Add() method, one that
takes a string and the other a XmlPathQuery. Anyone run into this problem
before?