(self)
return file_xml
get only the file logs
get only the file logs
get only the file logs
def get_file_log(self):
        '''get only the file logs'''
        xml = self.get_transaction_log()
        file_nodes = xml.get_nodes("transaction/file")

        # create a new document
        file_xml = Xml()
        file_xml.create_doc("transaction")
        file_root = file_xml.get_root_node()

        for file_node in file_nodes:
            file_xml.append_child(rile_root, file_node)

        return file_xml
def get_file_log ( self ) : xml = self . get_transaction_log ( ) file_nodes = xml . get_nodes ( "transaction/file" ) # create a new document file_xml = Xml ( ) file_xml . create_doc ( "transaction" ) file_root = file_xml . get_root_node ( ) for file_node in file_nodes : file_xml . append_child ( rile_root , file_node ) return file_xml