Help with ElementTree

Larry Martell larry.martell at
Thu Apr 9 19:59:08 CEST 2015

I have an XML file that looks like this (this is just the pertinent
part, the file is huge):

<?xml version="1.0"?>
  <Doc Type="CCI">
    <Node Name="SystemConfig" Section="yes">
        <Node Name="Environment">
           <Parameter Name="ToolName">

    <Node Name="Events" Section="yes">
       <Parameter Name="LastEventExportTime">
           <Current>15/03/2014 05:56:00</Current>

I would like to use ElementTree to get 2 values from this:


I've been trying for hours to get ElementTree to give me these 2
values, but nothing I do seems to work. Can anyone help me with this?


More information about the Python-list mailing list