RE: Looping through XML Nodes

Discussion in 'ASP .Net' started by =?Utf-8?B?RGVlcA==?=, Jul 9, 2004.

  1. Deep Wrote :
    You can use LOAD method of MSXML object to load if xml file else use LODXML for string.

    "BeWyched" wrote:

    > Can anyone please provide vb.net code to extract data from an XML docuement with a structure that looks like this please? Note that some of the nodes may contain null values. All my attempts have failed! Thanks.
    >
    > <A>
    > <B data="abc">
    > <C data="efg">
    > <D> data1 </D>
    > <D> data2 </D>
    > <D> data3 </D>
    > </C>
    > <C data="hij">
    > <D> data4 </D>
    > <D> data5 </D>
    > <D> data6 </D>
    > </C>
    > </B>
    > <B data="klm">
    > <C data="nop">
    > <D> data7 </D>
    > <D> data8 </D>
    > <D> data9 </D>
    > </C>
    > <C data="qrs">
    > <D> data10 </D>
    > <D> data11 </D>
    > <D> data12 </D>
    > </C>
    >
    > </B>
    > </B>
     
    =?Utf-8?B?RGVlcA==?=, Jul 9, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. gavnosis
    Replies:
    0
    Views:
    524
    gavnosis
    Aug 2, 2003
  2. Replies:
    5
    Views:
    486
    bouton
    Sep 22, 2005
  3. th3dude
    Replies:
    0
    Views:
    433
    th3dude
    Jan 3, 2007
  4. Aaron
    Replies:
    2
    Views:
    530
    dhtml
    Apr 10, 2011
  5. Replies:
    5
    Views:
    279
Loading...

Share This Page