summaryrefslogtreecommitdiff
path: root/examples/ooxml-strict/dumpsample.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ooxml-strict/dumpsample.py')
-rw-r--r--examples/ooxml-strict/dumpsample.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/ooxml-strict/dumpsample.py b/examples/ooxml-strict/dumpsample.py
index f0cf8cf..377ee60 100644
--- a/examples/ooxml-strict/dumpsample.py
+++ b/examples/ooxml-strict/dumpsample.py
@@ -42,6 +42,7 @@ else:
for i in range(worklist.iterations(mimetype)):
contentIter()
currOutFile = outDir+"/"+inFileName+str(iteration)+inFileExt
+ print sax_instance.toxml().encode('utf-8')
package.copyWithReplace(currOutFile,{fragment: sax_instance.toxml().encode('utf-8')})
iteration += 1
print "Written "+currOutFile