XML: Read, Write and Modify
-
Hello, I have a group called GroupX and it contains several brands. Those brands contain products and those products have two values: their price and their product number. Now I want to store this in a XML file, and I know that I have to use
System.XML
but I just can't find out on how to store, read and modify this data using XML. I've searched the internet, but didn't find what I was looking for.. I am using Visual Basic with Visual Studio 2005. Please help me out, :) --Zaegra-- -
Hello, I have a group called GroupX and it contains several brands. Those brands contain products and those products have two values: their price and their product number. Now I want to store this in a XML file, and I know that I have to use
System.XML
but I just can't find out on how to store, read and modify this data using XML. I've searched the internet, but didn't find what I was looking for.. I am using Visual Basic with Visual Studio 2005. Please help me out, :) --Zaegra-- -
Hello, I have a group called GroupX and it contains several brands. Those brands contain products and those products have two values: their price and their product number. Now I want to store this in a XML file, and I know that I have to use
System.XML
but I just can't find out on how to store, read and modify this data using XML. I've searched the internet, but didn't find what I was looking for.. I am using Visual Basic with Visual Studio 2005. Please help me out, :) --Zaegra--Zaegra wrote:
I've searched the internet
I find that hard to believe. There is a myriad of ways to store XML, the easiest is to use a stringbuilder to build your XML by hand, but that is more error prone than using XMLDocument or the XMLStreamWriter ( not sure what that is called ). XMLDocument is a standard DOM implimentation, it's how you would read/modify an XML document.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )