This function reads an XML file and returns the XMLversion value. If the XMLversion node does not exist, it returns "<1.3.0".

getXMLVersion(infile)

Arguments

infile

The path to the XML file.

Value

A character string containing the XML version or "<1.3.0" if not found.

Examples

if (FALSE) { # \dontrun{
# Example usage:
version <- getXMLVersion("your_file.xml")
} # }