Changeset 4963 for anuga_core/source/anuga/utilities/xml_tools.py
- Timestamp:
- Jan 21, 2008, 6:58:15 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/utilities/xml_tools.py
r4944 r4963 22 22 23 23 24 def pretty_print_tree(n, indent=0): 25 print n 26 24 27 def parse(fid): 25 28 """Parse XML file descriptor and return DOM object. … … 30 33 #doc = minidom.parse(fid, make_parser()) 31 34 35 fid.seek(0) 32 36 doc = minidom.parse(fid) 33 37 return doc
Note: See TracChangeset
for help on using the changeset viewer.