|
-
Feb 24th, 2007, 07:50 PM
#1
Thread Starter
Addicted Member
** RESOLVED ** Need help with XML
Hello there,
I'm trying to parse the following XML data:
http://members.lycos.co.uk/sjrseh/xml.txt
The "game" tag is repeated throughout the file.
I have XML4 referenced and have spent some time playing around with the following code:
VB Code:
Dim xml_document As DOMDocument
Dim mame_node As IXMLDOMNode
Set mame_node = xml_document.selectSingleNode("mame")
txtName.Text = GetNodeValue(mame_node, "game", "???")
Which gives me "description", "year" and "manufacturer". I want to retrieve other details like "driver status". I also want it to loop through the whole 30MB file for all 6000+ game entries.
It is for my non profit project I started quite a few years back, that uses mame.exe. http://members.lycos.co.uk/sjrseh/
Any help much appreciated.
Last edited by Hack; Feb 26th, 2007 at 10:44 AM.
Reason: Added green "resolved" checkmark Last edited by seh : Today at 10:40 AM. Reason: Resolved
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
|