Ensure that write_gexf and write_graphml output XML declaration
Merge pull request #1215 from ysitu/xml_decl

Ensure that write_gexf and write_graphml output XML declaration