DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Thread: work with xml in vb6

  1. #1
    Join Date
    Mar 2008

    work with xml in vb6

    i have this xml:
    <?xml version="1.0" standalone="yes"?>
        <adjudicante />
        <fornecedor_id />
        <cliente_id />
        <n_serie />
        <adjudicante />
        <fornecedor_id />
        <cliente_id />
        <n_serie />
    i can import the values from the xml using this function:
    if objXML.Load(file.xml) Then
    msgbox = objXML.selectSingleNode("//" & valor & "/descricao").Text
    but i only can see the first data, how can i pass to next record?
    i have tryed this: 
    objXML.selectSingleNode("//" & valor & "/hora").childNodes.nextNode
    but this return in same data
    thanks a lot for your help
    end if
    Last edited by Hack; 04-04-2010 at 07:53 AM. Reason: Added Code Tags

Similar Threads

  1. VB6 and xml
    By amersohail794 in forum VB Classic
    Replies: 1
    Last Post: 11-27-2007, 09:03 AM
  2. Reading XML in VB6
    By sowjon in forum XML
    Replies: 0
    Last Post: 12-21-2005, 09:53 PM
  3. Why use XML?
    By Brian in forum XML
    Replies: 5
    Last Post: 01-10-2003, 09:39 PM
  4. XML and relational databases
    By Colin Webster in forum XML
    Replies: 8
    Last Post: 09-09-2001, 03:40 PM
  5. Replies: 3
    Last Post: 06-19-2000, 09:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center