XML Parsing and Network Generation