Plot xml to graph