1
0

Took a hacksaw and split tcllib into several small parts.

This commit is contained in:
2018-02-03 01:36:08 +01:00
parent 4456f76032
commit 34ba8a0db0
16 changed files with 440 additions and 378 deletions
+9
View File
@@ -0,0 +1,9 @@
# -*- coding: utf-8 -*-
import xml.dom.minidom
class XmlTools:
@staticmethod
def pretty_xml(xmlstr):
mdx = xml.dom.minidom.parseString(xmlstr)
return mdx.toprettyxml(indent=" ")