XML : Python : Parsing XML using ElementTree

I have a xml file, some part of it mentioned below:

  <Row ss:Index="7" ss:AutoFitHeight="0" ss:Height="12">  <Cell ss:Index="1" ss:StyleID="s05">  <ss:Data ss:Type="String" xmlns="http://www.w3.org/TR/REC-html40">  <Font html:Size="9" html:Face="Times New Roman" x:Family="Roman" html:Color="#000000">  ABCD  </Font></ss:Data></Cell></Row    

Using ElementTree, how do I extract the data, here 'ABCD'?

No comments:

Post a Comment