parsing XML
Stefan Behnel
stefan_ml at behnel.de
Fri May 14 16:17:52 EDT 2010
Martin v. Loewis, 14.05.2010 17:15:
> kaklis at gmail.com wrote:
>> Hi to all, let's say we have the following Xml
>> <team>
>> <player name='Mick Fowler' age='27' height='1.96m'>
>> <points>17.1</points>
>> <rebounds>6.4</rebounds>
>> </player>
>> <player name='Ivan Ivanovic' age='29' height='2.04m'>
>> <points>15.5</points>
>> <rebounds>7.8</rebounds>
>> </player>
>> </team>
>>
>> How can i get the players name, age and height?
>> DOM or SAX and how
>
> Homework?
I would hope that every school teacher who teaches Python is able to skip
through c.l.py and the python-tutor list before accepting a homework result.
Stefan
More information about the Python-list
mailing list