cloudmersive_convert_api_client/api/convert_data_api.py
def convert_data_xml_edit_remove_all_child_nodes_with_x_path_with_http_info(self, input_file, x_path_expression, **kwargs):  # noqa: E501
        """Removes, deletes all children of nodes matching XPath expression, but does not remove the nodes  # noqa: E501

        Return the reuslts of editing an XML document by removing all child nodes of the nodes that match an input XPath expression.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.convert_data_xml_edit_remove_all_child_nodes_with_x_path_with_http_info(input_file, x_path_expression, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param file input_file: Input XML file to perform the operation on. (required)
        :param str x_path_expression: Valid XML XPath query expression (required)
        :return: XmlRemoveAllChildrenWithXPathResult
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['input_file', 'x_path_expression']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method convert_data_xml_edit_remove_all_child_nodes_with_x_path" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'input_file' is set
        if ('input_file' not in params or
                params['input_file'] is None):
            raise ValueError("Missing the required parameter `input_file` when calling `convert_data_xml_edit_remove_all_child_nodes_with_x_path`")  # noqa: E501
        # verify the required parameter 'x_path_expression' is set
        if ('x_path_expression' not in params or
                params['x_path_expression'] is None):
            raise ValueError("Missing the required parameter `x_path_expression` when calling `convert_data_xml_edit_remove_all_child_nodes_with_x_path`")  # noqa: E501

        collection_formats = {}

        path_params = {}

        query_params = []

        header_params = {}
        if 'x_path_expression' in params:
            header_params['XPathExpression'] = params['x_path_expression']  # noqa: E501

        form_params = []
        local_var_files = {}
        if 'input_file' in params:
            local_var_files['inputFile'] = params['input_file']  # noqa: E501

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json', 'text/json', 'application/xml', 'text/xml'])  # noqa: E501

        # Authentication setting
        auth_settings = ['Apikey']  # noqa: E501

        return self.api_client.call_api(
            '/convert/xml/edit/xpath/remove-all-children', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='XmlRemoveAllChildrenWithXPathResult',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)
Removes, deletes all children of nodes matching XPath expression, but does not remove the nodes  # noqa: E501

        Return the reuslts of editing an XML document by removing all child nodes of the nodes that match an input XPath expression.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.convert_data_xml_edit_remove_all_child_nodes_with_x_path_with_http_info(input_file, x_path_expression, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param file input_file: Input XML file to perform the operation on. (required)
        :param str x_path_expression: Valid XML XPath query expression (required)
        :return: XmlRemoveAllChildrenWithXPathResult
                 If the method is called asynchronously,
                 returns the request thread.
        
Removes, deletes all children of nodes matching XPath expression, but does not remove the nodes  # noqa: E501
Return the reuslts of editing an XML document by removing all child nodes of the nodes that match an input XPath expression.  # noqa: E501
This method makes a synchronous HTTP request by default.

:param async_req bool
:param file input_file: Input XML file to perform the operation on. (required)
:param str x_path_expression: Valid XML XPath query expression (required)
:return: XmlRemoveAllChildrenWithXPathResult
If the method is called asynchronously,
returns the request thread.
Removes deletes all children of nodes matching XPath expression but does not remove the nodes # noqa : E501 Return the reuslts of editing an XML document by removing all child nodes of the nodes that match an input XPath expression . # noqa : E501 This method makes a synchronous HTTP request by default . : param async_req bool : param file input_file : Input XML file to perform the operation on . ( required ) : param str x_path_expression : Valid XML XPath query expression ( required ) : return : XmlRemoveAllChildrenWithXPathResult If the method is called asynchronously returns the request thread .
def convert_data_xml_edit_remove_all_child_nodes_with_x_path_with_http_info(self, input_file, x_path_expression, **kwargs):  
        """Removes, deletes all children of nodes matching XPath expression, but does not remove the nodes  
        Return the reuslts of editing an XML document by removing all child nodes of the nodes that match an input XPath expression.  
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.convert_data_xml_edit_remove_all_child_nodes_with_x_path_with_http_info(input_file, x_path_expression, async_req=True)
        >>> result = thread.get()
        :param async_req bool
        :param file input_file: Input XML file to perform the operation on. (required)
        :param str x_path_expression: Valid XML XPath query expression (required)
        :return: XmlRemoveAllChildrenWithXPathResult
                 If the method is called asynchronously,
                 returns the request thread.
        """
        all_params = ['input_file', 'x_path_expression']  
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')
        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method convert_data_xml_edit_remove_all_child_nodes_with_x_path" % key
                )
            params[key] = val
        del params['kwargs']
        if ('input_file' not in params or
                params['input_file'] is None):
            raise ValueError("Missing the required parameter `input_file` when calling `convert_data_xml_edit_remove_all_child_nodes_with_x_path`")  
        if ('x_path_expression' not in params or
                params['x_path_expression'] is None):
            raise ValueError("Missing the required parameter `x_path_expression` when calling `convert_data_xml_edit_remove_all_child_nodes_with_x_path`")  
        collection_formats = {}
        path_params = {}
        query_params = []
        header_params = {}
        if 'x_path_expression' in params:
            header_params['XPathExpression'] = params['x_path_expression']  
        form_params = []
        local_var_files = {}
        if 'input_file' in params:
            local_var_files['inputFile'] = params['input_file']  
        body_params = None
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/json', 'text/json', 'application/xml', 'text/xml'])  
        auth_settings = ['Apikey']  
        return self.api_client.call_api(
            '/convert/xml/edit/xpath/remove-all-children', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='XmlRemoveAllChildrenWithXPathResult',  
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)
def convert_data_xml_edit_remove_all_child_nodes_with_x_path_with_http_info ( self , input_file , x_path_expression , ** kwargs ) : all_params = [ 'input_file' , 'x_path_expression' ] all_params . append ( 'async_req' ) all_params . append ( '_return_http_data_only' ) all_params . append ( '_preload_content' ) all_params . append ( '_request_timeout' ) params = locals ( ) for key , val in six . iteritems ( params [ 'kwargs' ] ) : if key not in all_params : raise TypeError ( "Got an unexpected keyword argument '%s'" " to method convert_data_xml_edit_remove_all_child_nodes_with_x_path" % key ) params [ key ] = val del params [ 'kwargs' ] if ( 'input_file' not in params or params [ 'input_file' ] is None ) : raise ValueError ( "Missing the required parameter `input_file` when calling `convert_data_xml_edit_remove_all_child_nodes_with_x_path`" ) if ( 'x_path_expression' not in params or params [ 'x_path_expression' ] is None ) : raise ValueError ( "Missing the required parameter `x_path_expression` when calling `convert_data_xml_edit_remove_all_child_nodes_with_x_path`" ) collection_formats = { } path_params = { } query_params = [ ] header_params = { } if 'x_path_expression' in params : header_params [ 'XPathExpression' ] = params [ 'x_path_expression' ] form_params = [ ] local_var_files = { } if 'input_file' in params : local_var_files [ 'inputFile' ] = params [ 'input_file' ] body_params = None header_params [ 'Accept' ] = self . api_client . select_header_accept ( [ 'application/json' , 'text/json' , 'application/xml' , 'text/xml' ] ) auth_settings = [ 'Apikey' ] return self . api_client . call_api ( '/convert/xml/edit/xpath/remove-all-children' , 'POST' , path_params , query_params , header_params , body = body_params , post_params = form_params , files = local_var_files , response_type = 'XmlRemoveAllChildrenWithXPathResult' , auth_settings = auth_settings , async_req = params . get ( 'async_req' ) , _return_http_data_only = params . get ( '_return_http_data_only' ) , _preload_content = params . get ( '_preload_content' , True ) , _request_timeout = params . get ( '_request_timeout' ) , collection_formats = collection_formats )
Removes, deletes all children of nodes matching XPath expression, but does not remove the nodes  # noqa: E501
Return the reuslts of editing an XML document by removing all child nodes of the nodes that match an input XPath expression.
Removes deletes all children of nodes matching XPath expression but does not remove the nodes # noqa : E501 Return the reuslts of editing an XML document by removing all child nodes of the nodes that match an input XPath expression .
# noqa: E501 """Removes, deletes all children of nodes matching XPath expression, but does not remove the nodes  # noqa: E501

        Return the reuslts of editing an XML document by removing all child nodes of the nodes that match an input XPath expression.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.convert_data_xml_edit_remove_all_child_nodes_with_x_path_with_http_info(input_file, x_path_expression, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param file input_file: Input XML file to perform the operation on. (required)
        :param str x_path_expression: Valid XML XPath query expression (required)
        :return: XmlRemoveAllChildrenWithXPathResult
                 If the method is called asynchronously,
                 returns the request thread.
        """ # noqa: E501 # verify the required parameter 'input_file' is set # noqa: E501 # verify the required parameter 'x_path_expression' is set # noqa: E501 # noqa: E501 # noqa: E501 # HTTP header `Accept` # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501
self
input_file
x_path_expression