[BangPypers] Empty element in xml

Amit Sethi amit.pureenergy at gmail.com
Sun Nov 3 22:30:02 CET 2013


Hi All, I am stuck with wierd problem . I am dealing with a legacy
system(written in C)  that deals with using some xml. The xml is
created with python. Now the trouble is that the legacy system
understands empty element as:

<element><element>

where as using python libs lxml or xml.etree or anything empty element
is written as
<element/> is there a way I can change that. So that I don't have to
make any changes in the legacy system.


Thanks
Amit

-- 
A-M-I-T S|S


More information about the BangPypers mailing list