Question Help needed in parsing XML file

gani_2

New member
Joined
Nov 7, 2011
Messages
2
Programming Experience
Beginner
Hi,

I am new to VB.NET and xml and I am trying to parse the xml file of format mentioned below and display it using textbox in VB.NET. But I am not able to parse it. Can anybody pls give me a code snippet to parse the xml shown below :
HTML:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Table>
  <Product>
    <Product_id value="1"/>
    <Product_name value="Product 1"/>
    <Product_price value="1000"/>
  </Product>
  <Product>
    <Product_id value="2"/>
    <Product_name value="Product 2"/>
    <Product_price value="5000"/>
  </Product>
</Table>
 
Last edited by a moderator:
VB.Net has lots of great tools for handling Xml data, what have you done to research them so far?
Also, what is it you are actually trying to do?
 
I have tried parsing the xml file of the following format using XmlDocument class methods

But I am not able to do it for the format mentioned in my original post.

I am trying to read node by node and displaying it in richtextbox.
 
Back
Top