Hi , I have DTML External Method , writen in python. This returns: - a string if erithing is fine ( makes a kind of SELECT) - a negativ number ( -1,-2,...) in case of error - an error code. How should I konw in Zope if the result is string, None or a numbar? Something like: <dtml-if "type(result)== string"> do someting wit a string <dtml-elif "type(result)== int"> ... </dtml-if> Thanks! Marcel