Great app, but I'm stuck on how to build custom XML. I have the following:
@request.restful()
def check():
def GET(id):
count = db(db.users.user_name==id).count()
if count > 0:
return dict(Status=1)
else:
return dict(Status=0)
return locals()
when I do a 'check.xml/foo' request I get back:
<document>
<Status>1</Status>
</document>
if foo exists. How do I change the XML that is being built? I would
like to replace the <document>, etc.
thanks much for a very nice framework.
bob

