parsing XML

kaklis at gmail.com kaklis at gmail.com
Fri May 14 10:57:48 EDT 2010


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

Thanks
Antonis



More information about the Python-list mailing list