Here is my issue. I am using a program called PCDJ RED VRM. when you add files in the library, it saves all the info about the files in XML files. I have already written server/client program thatthe server side reads in a list of titles and artists (normally in ASCII) and parses a mini db that houses the information and allows the client to access that info to allows users to request songs. What i am trying to do is have the server automatically read in the XML files from the PCDJ and make the mini db from those every time it is loaded. but i have no clue about XML files. XML is great but since i have had no need for it, i never learned it. What i really need is a source code for a conversion algorithem (i can't spell, i am a programmer...lol) to convert the data from the XML's into MDB's. then i can just combine all the DB's into the mini db i am using now. even if there is a component that i can embed into the proggy, that will do. Thanks in advanced to those who can help.
I don't know much about xml. But there is a library Microsoft XML. The IDE I have shows 3 or 4 versions of it. It has appropriate classes and methods. I have never used it, so I can't tell you how to use it. DOMDOCUMENT, load, etc, are the classes and methods. Trial and error making use of the object library should get you going. Did you search the forum for it?
i did a search for xml to DB and all i found was a seperate program that would not interface with my VB code and the person wouldnot release the source so i am screwed there. never used xml dom
Build your own xml parser if you have to, although the tree view control seems to make it a bit easier. (It's one thing I want to learn but haven't yet.)
Look on Planet Source Code for xml in their VB area. There's a program that's basically a code safe that uses xml, and should have enough for you to learn how to read that file and get the values from the nodes you need.
In VB u can very easily handle XMLs in both ways, creating and storing data in a XML andreading data from a XML. ADO's recordset object provides u both of the features. U can open any XML in a recordset as anyother datasource of DBs. And when u get open that XML, it behaves exactly as a recordset, u can read write data from that XML.
Here is a sample code to open and read data from a XML.