XML - python prints extra lines
- by horse
`from xml import xpath
from xml.dom import minidom
xmldata = minidom.parse('model.xml').documentElement
for maks in xpath.Evaluate('/cacti/results/maks/text()', xmldata):
print maks.nodeValue
`
and I get result:
85603399.14
398673062.66
95785523.81
But I needed to be:
85603399.14
NO SPACE
398673062.66
NO SPACE
95785523.81
Can…