def METHOD_NAME(self):
    root = ET.Element("geos")
    element = ET.SubElement(root, "Rectangle")
    element.set( "name" , self.name )
    element.set( "normal", arrayToXMLArray( self.normal ) )
    element.set( "origin", arrayToXMLArray( self.origin ) )
    element.set( "lengthVector", arrayToXMLArray( self.lengthVector ) )
    element.set( "widthVector", arrayToXMLArray( self.widthVector ) )
    element.set( "dimensions", arrayToXMLArray( self.dimensions ) )
    from xml.dom import minidom
    xmlstr = minidom.parseString(ET.tostring(root)).toprettyxml(indent="   ")
    fileName = self.name + "_" + str(self.strikeAngle)+ "_" + str(self.dipAngle) + ".xml"
    f = open( fileName, "w" )
    f.write( xmlstr )
    f.close()
    xmlFormatter.format_file( fileName )