libxmlVersion              package:XML              R Documentation

_G_e_t _t_h_e _v_e_r_s_i_o_n _o_f _t_h_e _l_i_b_x_m_l _l_i_b_r_a_r_y.

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

     This currently retrieves the version of the libxml library used
     when installing this XML package.

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

     libxmlVersion()

_D_e_t_a_i_l_s:

     This computes the version at compile time. In the future we will
     hopefully find a way to find the run-time version.

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

     A named list with fields 

   major: the major version number, either 1 or 2 indicating the old or
          new-style library.

   minor: the within version release number.

   patch: the within minor release version number

_A_u_t_h_o_r(_s):

     Duncan Temple Lang

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.w3.org/XML>, <URL: http://www.xmlsoft.org>, <URL:
     http://www.omegahat.org>

_S_e_e _A_l_s_o:

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

      ver <- libxmlVersion()
      if(is.null(ver)) {
        cat("Relly old version of libxml\n")
      } else {
        if(ver$major > 1) {
          cat("Using libxml2\n")
        }
      }

