Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.
Dim sWorkRequested As String Dim sPoNumber As String Dim m_xmld As XmlDocument Dim m_nodelist As XmlNodeList Dim m_node As XmlNode m_xmld = New XmlDocument m_xmld.Load("JobList.xml") '<---Error occurs here m_nodelist = m_xmld.SelectNodes("/JobRequest") For Each m_node In m_nodelist sWorkRequested = m_node.Item("WorkRequested").InnerText sPoNumber = m_node.Item("PoNumber").InnerText Debug.Print("sWorkRequested" & sWorkRequested) Debug.Print("sPoNumber" & sPoNumber) Next
<?xml version="1.0" encoding="utf-16"?> <JobRequest> <WorkRequested>Structural Analysis</WorkRequested> <PoNumber>POZ000000076219</PoNumber> <PoAmount>500</PoAmount> </JobRequest>