I decided to rewrite a parser that I wrote with XmlTextReader
cause I did have some problems with the pull model, but now I can't
start coding it 'cause even the simplest XPath query doesn't work,
and I don't know why :(
I have an xml document such as mine:
http://loluyede.blogspot.com/atom.xml
(you have to view the source cause blogger.com applies a css stylesheet)
I tried to "query" simple elements like <title> with (/feed/title) but I
get no nodes with .NET XPath Select*() functions :( What I'm doing wrong?
The strange thing is that if I try with a xml doc like this:
<entry>
<title>The title of the entry.</title>
<link rel="alternate" type="text/plain" href="http://www.w3.org/" title="The title of the link." />
<contributor>
<name>Uncle Bob</name><url>http://people.w3.org/</url><email>fo*@bar.com</email></contributor>
<id>http://localhost/foo/id</id><modified>2004-02-12T17:43:22+01:00</modified>
<issued>2004-02-12T17:43:22+01:00</issued>
<created>2004-02-12T17:43:22+01:00</created>
<summary>The summary of the entry.</summary>
<content>The content of the entry.</content>
</entry>
/entry/title works well :(
Bye
--
Lawrence