azure-servicemanagement-legacy/azure/servicemanagement/_serialization.py
def doc_from_xml(document_element_name, inner_xml):
        '''Wraps the specified xml in an xml root element with default azure
        namespaces'''
        xml = ''.join(['<', document_element_name,
                      ' xmlns:i="http://www.w3.org/2001/XMLSchema-instance"',
                      ' xmlns="http://schemas.microsoft.com/windowsazure">'])
        xml += inner_xml
        xml += ''.join(['</', document_element_name, '>'])
        return xml
def doc_from_xml(document_element_name, inner_xml):
        '''Wraps the specified xml in an xml root element with default azure
        namespaces'''
        xml = ''.join(['<', document_element_name,
                      ' xmlns:i="http://www.w3.org/2001/XMLSchema-instance"',
                      ' xmlns="http://schemas.microsoft.com/windowsazure">'])
        xml += inner_xml
        xml += ''.join(['</', document_element_name, '>'])
        return xml
def doc_from_xml ( document_element_name , inner_xml ) : xml = '' . join ( [ '<' , document_element_name , ' xmlns:i="http://www.w3.org/2001/XMLSchema-instance"' , ' xmlns="http://schemas.microsoft.com/windowsazure">' ] ) xml += inner_xml xml += '' . join ( [ '</' , document_element_name , '>' ] ) return xml
Wraps the specified xml in an xml root element with default azure
        namespaces
Wraps the specified xml in an xml root element with default azure namespaces