0

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.

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by jonsca
0

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).

Edited by jonsca: Dastardly smiles

0

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.