def getXMLFromCarvingFileName(fileName):
 carving = fabmetheus_interpret.getCarving(fileName)
 if (carving == None):
  return ''
 output = xml_simple_writer.getBeginGeometryXMLOutput()
 carving.addXML(0, output)
 return xml_simple_writer.getEndGeometryXMLString(output)

def getXMLFromCarvingFileName ( fileName ) : carving = fabmetheus_interpret . getCarving ( fileName ) if ( carving == None ) : return '' output = xml_simple_writer . getBeginGeometryXMLOutput ( ) carving . addXML ( 0 , output ) return xml_simple_writer . getEndGeometryXMLString ( output )
get xml text from xml text .