Project

General

Profile

« Previous | Next » 

Revision 304

Use new xml_dom.prettyxml_config instead of Node.writeprettyxml because it can be passed as keyword args to any writexml function

View differences:

map
167 167
        def use_row(root): pass # TODO: implement this
168 168
        output = sys.stdout
169 169
        doc1 = get_xml(use_row)
170
        doc1.writeprettyxml(output)
170
        doc1.writexml(output, **xml_dom.prettyxml_config)
171 171

  
172 172
try: main()
173 173
except Parser.SyntaxException, e: raise SystemExit(str(e))

Also available in: Unified diff