XML question, DOM or SAX?
zbir at urbanape.com
Fri Oct 18 18:16:51 CEST 2002
On Friday, Oct 18, 2002, at 12:07 US/Eastern, Markus von Ehr wrote:
> <spectrum values="0.1 0.2 0.14"/>
> and I read the XML-file, do I get a node for the whole line
> conaining the 1000 values and do I have to separate a string
> with something lie: string.split(s, " ") ?
If you're going to encode it like that, you'll have to do something
with a split:
listOfValues = attrs['values'].split(' ')
More information about the Python-list