add xml header with version and encoding when generating xml
This commit is contained in:
parent
cb5c761715
commit
4ae7962271
1 changed files with 1 additions and 0 deletions
|
@ -672,6 +672,7 @@ code = <<
|
|||
jsonify(p.root, True)
|
||||
print
|
||||
elif options.to_xml:
|
||||
print '<?xml version="1.0" encoding="UTF-8" ?>'
|
||||
print '<root>'
|
||||
xmlify(p.root, True, 1)
|
||||
print '</root>';
|
||||
|
|
Loading…
Add table
Reference in a new issue