Results 1 to 9 of 9

Thread: ** RESOLVED ** Need help with XML

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    Coventry, England
    Posts
    169

    Resolved ** 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:
    1. Dim xml_document As DOMDocument
    2. Dim mame_node As IXMLDOMNode
    3.  
    4. Set mame_node = xml_document.selectSingleNode("mame")
    5. 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
  •  



Click Here to Expand Forum to Full Width