##\r
# Import Modules\r
#\r
+from __future__ import print_function\r
import xml.dom.minidom\r
from Common.LongFilePathSupport import OpenLongFilePath as open\r
\r
XmlFile.close()\r
return Dom\r
except Exception as X:\r
- print X\r
+ print(X)\r
return ""\r
\r
# This acts like the main() function for the script, unless it is 'import'ed\r
A = CreateXmlElement('AAA', 'CCC', [['AAA', '111'], ['BBB', '222']], [['A', '1'], ['B', '2']])\r
B = CreateXmlElement('ZZZ', 'CCC', [['XXX', '111'], ['YYY', '222']], [['A', '1'], ['B', '2']])\r
C = CreateXmlList('DDD', 'EEE', [A, B], ['FFF', 'GGG'])\r
- print C.toprettyxml(indent = " ")\r
+ print(C.toprettyxml(indent = " "))\r
pass\r