Tracy Hall
New Member
Hello, it is me again.
I am working on parsing xml into a temp-table and working with it, then output it to a csv file for a magento load.
I have gotten the main one to work, but I am confused as to how to handle several going into one big temp-table.
This company has a category file, a products file, a price file, and probably a drop-ship one too.
I have the products one going in, but in order to really have the correct categories and prices at least, I need more files to get loaded.
Originally I had two product files and when I tried to load the second one behind the first it saved over the stuff in the temp-table.
I also wondered if you could put the parse and the callback in the same file? I am guessing you can, but I am so new to this and it did not work.
I have been under a push to get this done and I have a hold up not on my end to give me a cushion, but probably early next week I will be under the gun to have the second set of products working correctly.
Originally, I had the block of parse code for the first file and another block for the second file calling the same callback program. That is the one that saved over the first one in the temp-table.
I was wondering if anyone could tell me what has to be different for it to handle more than one xml file?
I am working on parsing xml into a temp-table and working with it, then output it to a csv file for a magento load.
I have gotten the main one to work, but I am confused as to how to handle several going into one big temp-table.
This company has a category file, a products file, a price file, and probably a drop-ship one too.
I have the products one going in, but in order to really have the correct categories and prices at least, I need more files to get loaded.
Originally I had two product files and when I tried to load the second one behind the first it saved over the stuff in the temp-table.
I also wondered if you could put the parse and the callback in the same file? I am guessing you can, but I am so new to this and it did not work.
I have been under a push to get this done and I have a hold up not on my end to give me a cushion, but probably early next week I will be under the gun to have the second set of products working correctly.
Originally, I had the block of parse code for the first file and another block for the second file calling the same callback program. That is the one that saved over the first one in the temp-table.
I was wondering if anyone could tell me what has to be different for it to handle more than one xml file?