def formList():
 tables = ['irs_ireport', 'rms_req', 'cr_shelter', 'pr_person', 'pr_image']
 xml = TAG.forms()
 for tablename in tables:
  xml.append(TAG.form(get_name(tablename), _url=(('http://' + request.env.http_host) + URL(f='create', args=tablename))))
 response.headers['Content-Type'] = 'text/xml'
 response.view = 'xforms.xml'
 return xml

def formList ( ) : tables = [ 'irs_ireport' , 'rms_req' , 'cr_shelter' , 'pr_person' , 'pr_image' ] xml = TAG . forms ( ) for tablename in tables : xml . append ( TAG . form ( get_name ( tablename ) , _url = ( ( 'http://' + request . env . http_host ) + URL ( f = 'create' , args = tablename ) ) ) ) response . headers [ 'Content-Type' ] = 'text/xml' response . view = 'xforms.xml' return xml
generates a list of xforms based on database tables for odk collect URL @todo: deprecate .