https://github.com/cran/XML
Revision 965b76582d41f5a7e67241b113bbadfbd00393e6 authored by Duncan Temple Lang on 01 May 2003, 00:00:00 UTC, committed by Gabor Csardi on 01 May 2003, 00:00:00 UTC
1 parent 12b6974
Raw File
Tip revision: 965b76582d41f5a7e67241b113bbadfbd00393e6 authored by Duncan Temple Lang on 01 May 2003, 00:00:00 UTC
version 0.93-4
Tip revision: 965b765
libxmlVersion.Rd
\name{libxmlVersion}
\alias{libxmlVersion}
\title{Get the version of the libxml library.}
\description{
This currently retrieves the version of the libxml
library used when installing this XML package.
}
\usage{
libxmlVersion()
}
\details{
This computes the version at compile time.
In the future we will hopefully find a way to
find the run-time version.
}
\value{
A named list with
fields
\item{major}{the major version number, either 1 or 2
  indicating the old or new-style library.}
\item{minor}{the within version release number.}
\item{patch}{the within minor release version number}
}

\references{\url{http://www.w3.org/XML}, \url{http://www.xmlsoft.org},
\url{http://www.omegahat.org}  }
\author{ Duncan Temple Lang }

\seealso{}

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