SUAVE  2.5.2
An Aerospace Vehicle Environment for Designing Future Aircraft

Files to handle XML input and output. More...

Classes

class  SUAVE.Input_Output.XML.Data.Data
 
class  SUAVE.Input_Output.XML.Data.Attributes
 
class  SUAVE.Input_Output.XML.load.TreeBuilder
 

Functions

def SUAVE.Input_Output.XML.load.load (file_in)
 
def SUAVE.Input_Output.XML.save.save (xml_data, filename)
 
def SUAVE.Input_Output.XML.save.indent (elem, level=0)
 

Detailed Description

Files to handle XML input and output.

These are not directly used with SUAVE data structures but are required for using FreeMind.

Function Documentation

◆ 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