def elementStream():
 try:
  es = ExpatElementStream()
  return es
 except ImportError:
  if (SuxElementStream is None):
   raise Exception('No parsers available :(')
  es = SuxElementStream()
  return es

def elementStream ( ) : try : es = ExpatElementStream ( ) return es except ImportError : if ( SuxElementStream is None ) : raise Exception ( 'No parsers available :(' ) es = SuxElementStream ( ) return es
preferred method to construct an elementstream uses expat-based stream if available .