Hi, 1. How do i return user defined XML with custom tags in web2py?
2. I wanted to use xmlwitch but i get the below error when i try to return the xml object: error on line 1 at column 26: Specification mandate value for attribute instance def get_xml(): xml = xmlwitch.Builder(version='1.0', encoding='utf-8') with xml.feed(xmlns='http://www.w3.org/2005/Atom'): xml.title('Example Feed') xml.updated('2003-12-13T18:30:02Z') response.headers['Content-Type']='text/xml' #return XML(str(xml),sanitize=True) #return XML(str(xml)).xml() return xml Need some help? - Deepak --