I am using pyxb for binding on XML and python code.
And for print a XML string, i have used "toxml()" method, but it prints the whole XML string in just one line.
It makes me difficult in translating XML string.
Is there any way to print well-formed XML format from a python instance(class bound) in pyxb?
Tiada ulasan:
Catat Ulasan