public static function createCompleteMultipartUploadXmlBody($listParts)
    {
        $xml = new \SimpleXMLElement('<?xml version="1.0" encoding="utf-8"?><CompleteMultipartUpload></CompleteMultipartUpload>');
        foreach ($listParts as $node) {
            $part = $xml->addChild('Part');
            $part->addChild('PartNumber', $node['PartNumber']);
            $part->addChild('ETag', $node['ETag']);
        }
        return $xml->asXML();
    }
public static function createCompleteMultipartUploadXmlBody($listParts)
    {
        $xml = new \SimpleXMLElement('<?xml version="1.0" encoding="utf-8"?><CompleteMultipartUpload></CompleteMultipartUpload>');
        foreach ($listParts as $node) {
            $part = $xml->addChild('Part');
            $part->addChild('PartNumber', $node['PartNumber']);
            $part->addChild('ETag', $node['ETag']);
        }
        return $xml->asXML();
    }
public static function createCompleteMultipartUploadXmlBody ( $ listParts ) { $ xml = new \ SimpleXMLElement ( '<?xml version="1.0" encoding="utf-8"?><CompleteMultipartUpload></CompleteMultipartUpload>' ) ; foreach ( $ listParts as $ node ) { $ part = $ xml -> addChild ( 'Part' ) ; $ part -> addChild ( 'PartNumber' , $ node [ 'PartNumber' ] ) ; $ part -> addChild ( 'ETag' , $ node [ 'ETag' ] ) ; } return $ xml -> asXML ( ) ; }
Generate the xml message of CompleteMultipartUpload.

@param array[] $listParts
@return string
Generate the xml message of CompleteMultipartUpload .