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
- 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
AUTHOR(S):
Duncan Temple Lang
REFERENCES:
http://www.w3.org/XML,
http://www.xmlsoft.org,
http://www.omegahat.org
SEE ALSO:
EXAMPLES:
ver <- libxmlVersion()
if(is.null(ver)) {
cat("Relly old version of libxml\n")
} else {
if(ver$major > 1) {
cat("Using libxml2\n")
}
}