> In fact, encouraged by your reply, I have had just had another look
> through the documentation and I think XmlNodeReader might be the most
> basic class to use so will try that too.
However a further look shows that I'm in a catch-22 situation! To use
an XmlNodeReader one has to first have an XmlNode and I wonder how we
get one of those! :-)
emma_middlebrook@fastmail.fm - 28 Nov 2005 23:36 GMT
> However a further look shows that I'm in a catch-22 situation! To use
> an XmlNodeReader one has to first have an XmlNode and I wonder how we
> get one of those! :-)
And now time to declare that:
i.e. point 4 was correct after all: before, I was setting the
XmlDocument's XmlResolver to null not the XmlTextReader's XmlResolver.
And, if I'd searched properly, I would have found this post mentioning
that solution and Truong's solution as well!
Problem solved!
Emma
PS I still think the docs on XmlTextReader are a little misleading (but
then, so was my post!) :-)
emma_middlebrook@fastmail.fm - 28 Nov 2005 23:37 GMT
Not that anyone's reading, but I meant, this post:
http://groups.google.co.uk/group/microsoft.public.dotnet.xml/browse_frm/thread/f
476f6a3fd610e78/09c99a4917a3c416?q=loading+xml+document+no+dtd&rnum=9#09c99a4917
a3c416
Emma