R/version.R

Defines functions libxmlVersion

Documented in libxmlVersion

libxmlVersion <-
function(runTime = FALSE)
{
    v <- if(runTime) .Call("RS_XML_libxmlVersionRuntime", PACKAGE = "XML")
         else .Call( "RS_XML_libxmlVersion", PACKAGE = "XML")
    v <- as.character(v)
    els <- substring(v, 1:nchar(v), 1:nchar(v))
    list(major=els[1], minor=paste(els[2:3],sep="", collapse=""),
         patch=paste(els[4:5], sep="", collapse=""))
}

Try the XML package in your browser

Any scripts or data that you put into this service are public.

XML documentation built on March 20, 2026, 9:06 a.m.