hey.

How to load and save to XML.
xml like:

[track1]
name=
url=
starttime=
[/track1]
[track2]....

and how to load only name to listbox without all link.

Recommended Answers

All 3 Replies

My impression of XML was that it has the angle brackets <> instead of square brackets []. Perhaps you can do a global search and replace on your document before you process it.

There are a host of methods under the System::Xml namespace (see http://msdn.microsoft.com/en-us/library/system.xml.xmltextreader(v=VS.100).aspx) where you can extract the properties of each node. It's not something I'm very familiar with. The best thing to do might be to setup a reader and step through a known document, printing out what the methods are returning(MoveToNextAtrribute(), etc).

can you write some example to save and some to load??
I like when i can see how it work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.