MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.
Imports System.Xml Imports System.Xml.XPath Dim m_xmld As XmlDocument Dim m_nodelist As XmlNodeList Dim m_node As XmlElement 'Create the XML Document m_xmld = New XmlDocument() 'Load the Xml file m_xmld.Load("sample2.xml") '' Added these two lines Dim nsmgr = New XmlNamespaceManager(m_xmld.NameTable) nsmgr.AddNamespace("ns", "http://www.metaswitch.com/cfs/billing/V1.0") 'Get the list of name nodes '' Modified your XPath and added the second parameter m_nodelist = m_xmld.SelectNodes("/ns:File/ns:CDRs/ns:Call", nsmgr) 'Loop through the nodes
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.