<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18904"></HEAD>
<BODY>
<DIV><SPAN class=022394812-11052010><FONT color=#008000 size=2 face=Arial>I'm 
looking for at way to read (and later write) small simple .xml file from 
Python.</FONT></SPAN></DIV>
<DIV><SPAN class=022394812-11052010><FONT color=#008000 size=2 
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=022394812-11052010><FONT color=#008000 size=2 face=Arial>e.g. I 
would like to read the following from a small ini.xml file into a 
dictionary.</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
  <DIV><SPAN class=022394812-11052010><FONT color=#008000 size=2 
  face=Arial></FONT></SPAN> </DIV>
  <DIV><SPAN class=022394812-11052010><FONT color=#008000 size=2 
  face=Arial><?xml version="1.0" encoding="UTF-8"?></FONT></SPAN></DIV>
  <DIV><SPAN class=022394812-11052010></SPAN><SPAN 
  class=022394812-11052010><FONT color=#008000 size=2 
  face=Arial><initialisation><BR> <idrectory>default</idrectory></FONT></SPAN></DIV>
  <DIV><SPAN class=022394812-11052010><FONT color=#008000 size=2 
  face=Arial> <nosplit>False</nosplit><BR> <nobatch>False</nobatch><BR> <ubmmode>UBMlight</ubmmode></FONT></SPAN></DIV>
  <DIV><SPAN class=022394812-11052010><FONT color=#008000 size=2 
  face=Arial> <overwrite_output>True</overwrite_output><BR></initialisation><BR></FONT></SPAN></DIV></BLOCKQUOTE>
<DIV><SPAN class=022394812-11052010><FONT color=#008000 size=2 face=Arial>I 
would prefer a relative simple (not too much creating new classes) way to do 
this.</FONT></SPAN></DIV>
<DIV><SPAN class=022394812-11052010><FONT color=#008000 size=2 
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=022394812-11052010><FONT color=#008000 size=2 face=Arial>Any 
suggestions appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=022394812-11052010><FONT color=#008000 size=2 
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=022394812-11052010><FONT color=#008000 size=2 face=Arial>:-) 
Martin</DIV></FONT></SPAN></BODY></HTML>