Results 1 to 2 of 2

Thread: Getting XML from url

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    115

    Getting XML from url

    I am new to VS 2010 , I did have the same project with VB6 and everything is changed in here . I whould be happy if someone give me a hand.

    I wont to grab the xml from url and show on my forms TextBox ( Multiline) with its nodes. XML file from the URL looks like this .

    PHP Code:
    <list><worldCar carId="13759" make="CAR_MANU_TOYOTA" carName="CAR_MDL_COROLLA"><physicsProfile acceleration="459" handling="377" rating="406" topSpeed="383" carClass="carclass_c"/></worldCar><worldCar carId="4526281" make="CAR_MANU_DODGE" carName="CAR_MDL_CHARGER07BEE"><physicsProfile acceleration="522" handling="252" rating="384" topSpeed="379" carClass="carclass_d"/></worldCar><worldCar carId="4528377" make="CAR_MANU_LOTUS" carName="CAR_MDL_ELISE"><physicsProfile acceleration="536" handling="688" rating="562" topSpeed="462" carClass="carclass_b"/></worldCar><worldCar carId="4532649" make="CAR_MANU_MAZDA" carName="CAR_MDL_MAZDASPEED3"><physicsProfile acceleration="155" handling="320" rating="226" topSpeed="205" carClass="carclass_e"/></worldCar><worldCar carId="4619376" make="CAR_MANU_LAMBORGHINI" carName="CAR_MDL_GALLARDO09"><physicsProfile acceleration="754" handling="476" rating="631" topSpeed="664" carClass="carclass_a"/></worldCar></list> 
    I need to show this like :

    carID :
    make :
    carName:
    acceleration:
    handling:
    rating:
    topspeed:

    all nodes one by one looped .

    what whould be the simplest way to do it . Thank you .

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Dec 2011
    Posts
    115

    Re: Getting XML from url

    bump. anyone can help ?

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