daverage
Active member
- Joined
- Aug 29, 2006
- Messages
- 26
- Programming Experience
- Beginner
I have the following xml
using this code
I should be able to read the text in entry but I can only read it if i remove "xmlns='http://www.w3.org/2005/Atom'"
How can i get around this?
HTML:
<feed xmlns='http://www.w3.org/2005/Atom'
xmlns:OpenSearch='http://a9.com/-/spec/opensearchrss/1.0/'
xmlns:gd='http://schemas.google.com/g/2005'
xmlns:gCal='http://schemas.google.com/gCal/2005'>
<entry>adasd a</entry>
</feed>
using this code
VB.NET:
Dim xd As New Xml.XmlDocument
xd.Load("notes.xml")
MsgBox(xd.InnerXml)
Dim nodes As Xml.XmlNode = xd.SelectSingleNode("//entry")
MsgBox(nodes.InnerText)
I should be able to read the text in entry but I can only read it if i remove "xmlns='http://www.w3.org/2005/Atom'"
How can i get around this?
Last edited by a moderator: