diff options
Diffstat (limited to 'Demo/xml/roundtrip.py')
-rw-r--r-- | Demo/xml/roundtrip.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/xml/roundtrip.py b/Demo/xml/roundtrip.py index e42bf1b..8d7d437 100644 --- a/Demo/xml/roundtrip.py +++ b/Demo/xml/roundtrip.py @@ -16,7 +16,7 @@ class ContentGenerator(handler.ContentHandler): self._out = out # ContentHandler methods - + def startDocument(self): self._out.write('<?xml version="1.0" encoding="iso-8859-1"?>\n') @@ -34,7 +34,7 @@ class ContentGenerator(handler.ContentHandler): def ignorableWhitespace(self, content): self._out.write(content) - + def processingInstruction(self, target, data): self._out.write('<?%s %s?>' % (target, data)) |