i have a List modifiedfiles= [['/home/moq/buc/2/mod2.py', '200607131001'], ['/home/moq/buc/1/mod2.py', '200607131000'], ['/home/moq/buc/1/mod3.py', '200607131001'], ['/home/moq/buc/1+mod1.py', '200607131001']]
i have to put them in am xml format like the follg. <modified> <directory> <dirname>/home/moq/buc/2</dirname> <file> <name>mod2.py</name> <time>200607131001</time> </file> </directory> <directory> <dirname>/home/moq/buc/1</dirname> <file> <name>mod1.py</name> <time>200607131001</time> </file> <file> <name>mod2.py</name> <time>200607131001</time> </file> <file> <name>mod3.py</name> <time>200607131001</time> </file> </directory> </modified> can someone please with the code for this. -- http://mail.python.org/mailman/listinfo/python-list