Maybe because .xml() method of various web2py class in gluon.html and is intent to be used over markup type languages not python language :
https://github.com/web2py/web2py/blob/master/gluon/html.py#L548 You can search for "def xml(" on this page to see all the differents implementation... Richard On Thu, Mar 23, 2017 at 3:46 PM, Lars <[email protected]> wrote: > Hi, > > Everything is in the title : I try to have a BEAUTIFY look at > copy.copy(globals()) and I get an xml error line 131 in html.py : > > data is empty for : return data.xml() > > Why can't we beautify globals() ? > > Thank you > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

