Heya.
I am new here as I am new to XML, and I was hoping I could find some guidance.
I am in the process of implementing a system that has been outlined as follows:
There are 2 databases. The DBMSs being used on both sides are unknown. At this point I have to just work on creating everything that I can while following the specifications given.
Both databases have differing schema. A DTD has been specified that both sides have agreed upon. Data only goes one way to update the destination database.
Data needs to flow as so:
1. A piece of code connects to the source database via ODBC. This code extracts the data found in the database and produces source.xml according to the DTD.
2. The source.xml is tested against the DTD for validity.
3. If valid, source.xml is sent to the destination facility.
4. A piece of code at the destination facility takes source.xml and inserts it into the destination database.
With that said... Here is where I stand. I will be using C++ for the coding. So:
1. I have read a good deal about the varying APIs, but is there any that could be recommended (or that I could be told to avoid for that matter)?
2. I have read about DOM and SAX, but I really don't know what would be best for my situation.
3. Are there any hints and tips you could give to a person new to XML implementation?
I apologize for being long-winded, but I truly appreciate any help that can be given.
Thanks,
Enigma
I am new here as I am new to XML, and I was hoping I could find some guidance.
I am in the process of implementing a system that has been outlined as follows:
There are 2 databases. The DBMSs being used on both sides are unknown. At this point I have to just work on creating everything that I can while following the specifications given.
Both databases have differing schema. A DTD has been specified that both sides have agreed upon. Data only goes one way to update the destination database.
Data needs to flow as so:
1. A piece of code connects to the source database via ODBC. This code extracts the data found in the database and produces source.xml according to the DTD.
2. The source.xml is tested against the DTD for validity.
3. If valid, source.xml is sent to the destination facility.
4. A piece of code at the destination facility takes source.xml and inserts it into the destination database.
With that said... Here is where I stand. I will be using C++ for the coding. So:
1. I have read a good deal about the varying APIs, but is there any that could be recommended (or that I could be told to avoid for that matter)?
2. I have read about DOM and SAX, but I really don't know what would be best for my situation.
3. Are there any hints and tips you could give to a person new to XML implementation?
I apologize for being long-winded, but I truly appreciate any help that can be given.
Thanks,
Enigma