Files to handle XML input and output.
More...
Files to handle XML input and output.
These are not directly used with SUAVE data structures but are required for using FreeMind.
◆ indent()
def SUAVE.Input_Output.XML.save.indent |
( |
|
elem, |
|
|
|
level = 0 |
|
) |
| |
Indentation helper.
Assumptions:
None
Source:
http://effbot.org/zone/element-lib.htm
Inputs:
elem The element to be used
level (optional) The indentation level
Outputs:
Modifies elem
Properties Used:
N/A
◆ load()
def SUAVE.Input_Output.XML.load.load |
( |
|
file_in | ) |
|
Converts an XML file into an XML data structure.
Assumptions:
None
Source:
N/A
Inputs:
file_in - The XML file
Outputs:
xml_data - The XML data structure
Properties Used:
N/A
◆ save()
def SUAVE.Input_Output.XML.save.save |
( |
|
xml_data, |
|
|
|
filename |
|
) |
| |
This creates an XML file based on an XML data structure.
Assumptions:
None
Source:
N/A
Inputs:
xml_data The XML data structure to be saved
filename The name of the saved file
Outputs:
XML file with name as specified by filename
Properties Used:
N/A