|
-
Jun 11th, 2019, 08:47 AM
#12
Thread Starter
Addicted Member
Re: Extracting data from XML
 Originally Posted by wqweto
Try this:
thinBasic Code:
'-- in Else Dim oRow As IXMLDOMNode Dim oColumn As IXMLDOMNode Dim sRow As String For Each oRow In doc.selectNodes("//Rows/Row") sRow = vbNullString For Each oColumn In oRow.selectNodes("Columns/Column") sRow = sRow & oColumn.selectSingleNode("Name").Text & "=" & oColumn.selectSingleNode("Value").Text & vbCrLf Next MsgBox "sRow=" & sRow, vbExclamation Next
cheers,
</wqw>
Perfect! Thanks to all of you for your help with this!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|