def processSVGElementg(elementNode, svgReader):
 if ('id' not in elementNode.attributes):
  return
 idString = elementNode.attributes['id']
 if ('beginningOfControlSection' in elementNode.attributes):
  if (elementNode.attributes['beginningOfControlSection'].lower()[:1] == 't'):
   svgReader.stopProcessing = True
  return
 idStringLower = idString.lower()
 zIndex = idStringLower.find('z:')
 if (zIndex < 0):
  idStringLower = getLabelString(elementNode.attributes)
  zIndex = idStringLower.find('z:')
 if (zIndex < 0):
  return
 floatFromValue = euclidean.getFloatFromValue(idStringLower[(zIndex + len('z:')):].strip())
 if (floatFromValue != None):
  svgReader.z = floatFromValue

def processSVGElementg ( elementNode , svgReader ) : if ( 'id' not in elementNode . attributes ) : return idString = elementNode . attributes [ 'id' ] if ( 'beginningOfControlSection' in elementNode . attributes ) : if ( elementNode . attributes [ 'beginningOfControlSection' ] . lower ( ) [ : 1 ] == 't' ) : svgReader . stopProcessing = True return idStringLower = idString . lower ( ) zIndex = idStringLower . find ( 'z:' ) if ( zIndex < 0 ) : idStringLower = getLabelString ( elementNode . attributes ) zIndex = idStringLower . find ( 'z:' ) if ( zIndex < 0 ) : return floatFromValue = euclidean . getFloatFromValue ( idStringLower [ ( zIndex + len ( 'z:' ) ) : ] . strip ( ) ) if ( floatFromValue != None ) : svgReader . z = floatFromValue
process elementnode by svgreader .