building objects from xml file at runtime and intializing, in one pass?

Posted by KaluSingh Gabbar on Stack Overflow See other posts from Stack Overflow or by KaluSingh Gabbar
Published on 2009-09-26T04:09:33Z Indexed on 2010/03/24 9:13 UTC
Read the original article Hit count: 214

Filed under:
|
|
|
|

I have to parse the XML file and build objects representation based on that, now once I get all these data I create entries in various database for these data objects. I have to do second pass over that for value as in the first pass all I could do is build the assets in various databases. and in second pass I get the values for all the data and put it in the database.

I have a feeling that this can be done in a single pass but I just want to see what are your opinions. As I am just a student who started with professional work, experienced ppl please help.

Can someone who have ideas or done similar work, please provide some light on the topic so that I can think over the possibility of the work and get the prototype going based on your suggestion.

Thanks a lot for your precious time, I honestly appreciate it.

© Stack Overflow or respective owner

Related posts about c++

Related posts about algorithm