def doc_from_xml(document_element_name, inner_xml,
                     xmlns='http://schemas.microsoft.com/windowsazure'):
        '''Wraps the specified xml in an xml root element with default azure
        namespaces'''
        xml = ''.join(['<', document_element_name,
                      ' xmlns="{0}">'.format(xmlns)])
        xml += inner_xml
        xml += ''.join(['</', document_element_name, '>'])
        return xml
def doc_from_xml ( document_element_name , inner_xml , xmlns = 'http://schemas.microsoft.com/windowsazure' ) : xml = '' . join ( [ '<' , document_element_name , ' xmlns="{0}">' . format ( xmlns ) ] ) xml += inner_xml xml += '' . join ( [ '</' , document_element_name , '>' ] ) return xml
Wraps the specified xml in an xml root element with default azure
        namespaces