Fix id number overlapping with each others
This commit is contained in:
parent
1e3cc0c702
commit
ccebd184b3
219 changed files with 104 additions and 8502 deletions
2
test.py
2
test.py
|
@ -11,6 +11,6 @@ item1.text = 'item1abc'
|
|||
item2.text = 'item2abc'
|
||||
|
||||
# create a new XML file with the results
|
||||
mydata = ET.tostring(data)
|
||||
mydata = ET.tostring(data, encoding='unicode', method='xml')
|
||||
myfile = open("items2.xml", "w")
|
||||
myfile.write(mydata)
|
Loading…
Add table
Add a link
Reference in a new issue