fixed [Graphml] printer (contributed by Johannes Schauer)