Read dependencies from XML parser