Quote Originally Posted by Brainer
Yip, that's what I've been thinking of, too, but I don't quite get the idea of calculating the offsets. And what do you mean by:
start the offset at 0 and sum it with the size of previous file entry
Does that mean I should generate an XML for each file? Am I getting it wrong?
no, something like
Code:
offset = 0

for entry in files:
   wirtetoxml(entry.name,entry.size,offset);
   offset += entry.size