def preview_parse(scheme_file):
 parser = make_parser()
 handler = PreviewHandler()
 parser.setContentHandler(handler)
 parser.parse(scheme_file)
 name_data = (handler.title or '')
 description_data = (handler.description or '')
 svg_data = ''.join(handler.thumbnail_data)
 return (saxutils.unescape(name_data), saxutils.unescape(description_data), saxutils.unescape(svg_data))

def preview_parse ( scheme_file ) : parser = make_parser ( ) handler = PreviewHandler ( ) parser . setContentHandler ( handler ) parser . parse ( scheme_file ) name_data = ( handler . title or '' ) description_data = ( handler . description or '' ) svg_data = '' . join ( handler . thumbnail_data ) return ( saxutils . unescape ( name_data ) , saxutils . unescape ( description_data ) , saxutils . unescape ( svg_data ) )
return the title .