Kb2XML                 package:FKBL                 R Documentation

_W_r_i_t_e_s _a _k_B _t_o _d_i_s_c

_D_e_s_c_r_i_p_t_i_o_n:

     It takes a knowledge base, the name of a file and any  desired
     meta information. Then, it creates a XML with the given name,
     containing  the kB and the meta information.

_U_s_a_g_e:

      Kb2XML(file,kB,mt)

_A_r_g_u_m_e_n_t_s:

     Takes the file, the knowledge base and the meta information.

    file: The name of the file.

      kB: The knowledge base.

      mt: The meta information, it must be a list with pairs:
          Author="John Doe".

_V_a_l_u_e:

     Return 0 if fails and 1 otherwise.

_E_x_a_m_p_l_e_s:

     data(kB)
     data(mt)
     Kb2XML("kB.xml", kB, mt)

