VB.NET and XML plz help

Kaat

Member
Joined
Mar 24, 2005
Messages
22
Location
Belgium
Programming Experience
Beginner
Hey,

Question, how do I read a simple xml file like this
VB.NET:
[color=#0000ff]<?xml version="1.0" encoding="UTF-8" ?>[/color] 
[url="file:///C:/Documents%20and%20Settings/katrien/My%20Documents/VBProject/family.xml#"][b][font=Courier New][color=#ff0000]-[/color][/font][/b][/url] [color=#0000ff]<[/color][color=#990000]family[/color][color=#0000ff]>[/color]
[url="file:///C:/Documents%20and%20Settings/katrien/My%20Documents/VBProject/family.xml#"][b][font=Courier New][color=#ff0000]-[/color][/font][/b][/url] [color=#0000ff]<[/color][color=#990000]name gender[/color][color=#0000ff]="[/color][b]Male[/b][color=#0000ff]">[/color]
[b][font=Courier New][color=#ff0000] [/color][/font][/b] [color=#0000ff]<[/color][color=#990000]firstname[/color][color=#0000ff]>[/color][b]Tom[/b][color=#0000ff]</[/color][color=#990000]firstname[/color][color=#0000ff]>[/color] 

[b][font=Courier New][color=#ff0000] [/color][/font][/b] [color=#0000ff]<[/color][color=#990000]lastname[/color][color=#0000ff]>[/color][b]Smith[/b][color=#0000ff]</[/color][color=#990000]lastname[/color][color=#0000ff]>[/color] 

[b][font=Courier New][color=#ff0000] [/color][/font][/b] [color=#0000ff]</[/color][color=#990000]name[/color][color=#0000ff]>[/color]


[url="file:///C:/Documents%20and%20Settings/katrien/My%20Documents/VBProject/family.xml#"][b][font=Courier New][color=#ff0000]-[/color][/font][/b][/url] [color=#0000ff]<[/color][color=#990000]name gender[/color][color=#0000ff]="[/color][b]Female[/b][color=#0000ff]">[/color]
[b][font=Courier New][color=#ff0000] [/color][/font][/b] [color=#0000ff]<[/color][color=#990000]firstname[/color][color=#0000ff]>[/color][b]Dale[/b][color=#0000ff]</[/color][color=#990000]firstname[/color][color=#0000ff]>[/color] 

[b][font=Courier New][color=#ff0000] [/color][/font][/b] [color=#0000ff]<[/color][color=#990000]lastname[/color][color=#0000ff]>[/color][b]Smith[/b][color=#0000ff]</[/color][color=#990000]lastname[/color][color=#0000ff]>[/color] 

[b][font=Courier New][color=#ff0000] [/color][/font][/b] [color=#0000ff]</[/color][color=#990000]name[/color][color=#0000ff]>[/color]


[b][font=Courier New][color=#ff0000] [/color][/font][/b] [color=#0000ff]</[/color][color=#990000]family[/color][color=#0000ff]>[/color]
in VB.NET and write this information into a temporary database.

Greetz
 
Top Bottom