title: python : how to parse zipped xml file?
body: <p>My code looks like  </p>
  
  <pre><code>def read_zip_file():
      import zipfile
      zf = zipfile.ZipFile(os.path.expanduser('~/Downloads/tmp/me.zip'))
      for filename in [ 'myfile.xml' ]:
          print filename
          try :
              data = get_proposal_data_map(zf.read(filename))
              print data
          except:
              logging.error('error - ' + str(sys.exc_info()))
  </code></pre>
  
  <p>This spits out the xml as regular file. Now I have a existing code, which given a path parses XML as   </p>
  
  <pre><code>try:
      tree = etree.parse(path)
      root = tree.getroot()
      for child in root:
                # do things with XML
  </code></pre>
  
  <p><strong>Question</strong></p>
  
  <p>How can I <code>parse</code> a <code>zipped XML (myfile.xml.zip)</code> as regular <code>XML</code> file?</p>