def getElementNodeObject(evaluatedLinkValue):
 if (evaluatedLinkValue.__class__.__name__ != 'ElementNode'):
  print 'Warning, could not get ElementNode in getElementNodeObject in evaluate for:'
  print evaluatedLinkValue.__class__.__name__
  print evaluatedLinkValue
  return None
 if (evaluatedLinkValue.xmlObject == None):
  print 'Warning, evaluatedLinkValue.xmlObject is None in getElementNodeObject in evaluate for:'
  print evaluatedLinkValue
  return None
 return evaluatedLinkValue.xmlObject

def getElementNodeObject ( evaluatedLinkValue ) : if ( evaluatedLinkValue . __class__ . __name__ != 'ElementNode' ) : print 'Warning, could not get ElementNode in getElementNodeObject in evaluate for:' print evaluatedLinkValue . __class__ . __name__ print evaluatedLinkValue return None if ( evaluatedLinkValue . xmlObject == None ) : print 'Warning, evaluatedLinkValue.xmlObject is None in getElementNodeObject in evaluate for:' print evaluatedLinkValue return None return evaluatedLinkValue . xmlObject
get elementnodeobject .