markhad
10-18-2011, 11:55 AM
At the risk of being shot for not placing this thread in the right section, I'm after some advice about XML structure for a Flash project!
Bascially, I want users to be able to send me up to 10 files. I am using XML to send alongside the files containing information for each file they send. The XML will be imported into another local Flash program to use the files in a databse
As the nunmber of files could vary, is it better practice to have 10 XML nodes (ie one for each) even if some of them are empty, or delete the empty nodes if there's less than 10 files?
Secondly, as I may get hundreds of these orders per month to be archived, is storing all of the orders in a massive single XML a good idea, or should I split it up to a certain number (ie in 100s or per month). Havng one would make it easier to search the archive, but does it run the risk of becoming corrupted abnd losing data?
Thanks in advance.
Bascially, I want users to be able to send me up to 10 files. I am using XML to send alongside the files containing information for each file they send. The XML will be imported into another local Flash program to use the files in a databse
As the nunmber of files could vary, is it better practice to have 10 XML nodes (ie one for each) even if some of them are empty, or delete the empty nodes if there's less than 10 files?
Secondly, as I may get hundreds of these orders per month to be archived, is storing all of the orders in a massive single XML a good idea, or should I split it up to a certain number (ie in 100s or per month). Havng one would make it easier to search the archive, but does it run the risk of becoming corrupted abnd losing data?
Thanks in advance.