@staticmethod<EOL><INDENT>def retrieve_config(element):<DEDENT>
if not etree.iselement(element):<EOL><INDENT>raise TypeError("<STR_LIT>".format(type(element)))<EOL><DEDENT>ret = etree.Element(config_tag, nsmap={'<STR_LIT>': nc_url})<EOL>ret.extend(deepcopy(element.xpath('<STR_LIT>',<EOL>namespaces={'<STR_LIT>': nc_url})))<EOL>ret.extend(deepcopy(element.xpath('<STR_LIT>',<EOL>namespaces={'<STR_LIT>': nc_url})))<EOL>ret.extend(deepcopy(element.xpath('<STR_LIT>',<EOL>namespaces={'<STR_LIT>': nc_url})))<EOL>ret.extend(deepcopy(element.xpath('<STR_LIT>',<EOL>namespaces={'<STR_LIT>': nc_url})))<EOL>ret.extend(deepcopy(element.xpath('<STR_LIT>',<EOL>namespaces={'<STR_LIT>': nc_url})))<EOL>return ret<EOL>
retrieve_config

        High-level api: Retrive config from rpc-reply.

        Parameters
        ----------

        element : `Element`
            A rpc-reply or content of Config instance.

        Returns
        -------

        Element
            A new element which represents config data.