Functionalities for storing and restoring networks using XML