> OK, problem fixed. > The script is now much cleaner and it uses a SimpleXML iterator to > update the file, thus keeping the original order.
So we just need to go back to the original order (revert to the state before you first commited the output of the first script), and run the new script. Right? Goba