'Render this form as XML string
@return: XML as string'

def xml(self):

    ns = {'_xmlns': 'http://www.w3.org/2002/xforms', '_xmlns:h': 'http://www.w3.org/1999/xhtml', '_xmlns:ev': 'http://www.w3.org/2001/xml-events', '_xmlns:xsd': 'http://www.w3.org/2001/XMLSchema', '_xmlns:jr': 'http://openrosa.org/javarosa'}
    document = TAG['h:html'](self._head(), self._body(), **ns)
    return document.xml()
