def convertXMLElementRenameByPaths(geometryOutput, xmlElement):
 xmlElement.className = 'path'
 for geometryOutputChild in geometryOutput:
  pathElement = xml_simple_reader.XMLElement()
  pathElement.setParentAddToChildren(xmlElement)
  convertXMLElementRename(geometryOutputChild, pathElement)

def convertXMLElementRenameByPaths ( geometryOutput , xmlElement ) : xmlElement . className = 'path' for geometryOutputChild in geometryOutput : pathElement = xml_simple_reader . XMLElement ( ) pathElement . setParentAddToChildren ( xmlElement ) convertXMLElementRename ( geometryOutputChild , pathElement )
convert the xml element to a path xml element and add paths .