EDN Admin
Well-known member
i am trying to select the nodes wich ends with "00" i am using the below code. but it gives error. Your help pls. i am getting unknown method error. i am using Mocrosoft Access Forms VBA code.<br/>
Private Sub extractList(ByVal xmlObject As Object)
Dim oXmlNode As IXMLDOMNode<br/>
Dim oXmlNodes As IXMLDOMNodeList<br/>
Set oXmlNodes = xmlObject.selectNodes("//RetrieveResult/ProgramModuleTeam[(substring(@ns2:Code,2,2))=00]")<br/>
For Each oXmlNode In oXmlNodes<br/>
Debug.Print oXmlNode.text<br/>
Next
<input id="a6d3a549-1947-480f-8c92-cc18fdef86aa_attachments" type="hidden" />
View the full article
Private Sub extractList(ByVal xmlObject As Object)
Dim oXmlNode As IXMLDOMNode<br/>
Dim oXmlNodes As IXMLDOMNodeList<br/>
Set oXmlNodes = xmlObject.selectNodes("//RetrieveResult/ProgramModuleTeam[(substring(@ns2:Code,2,2))=00]")<br/>
For Each oXmlNode In oXmlNodes<br/>
Debug.Print oXmlNode.text<br/>
Next
<input id="a6d3a549-1947-480f-8c92-cc18fdef86aa_attachments" type="hidden" />
View the full article