Create an S-PLUS Object from an XML File

DESCRIPTION:

This function parses an XML file and creates the appropriate S-PLUS object.

USAGE:

parseXMLFile(file)

ARGUMENTS:

file
a character string containing the input file name (and path).

VALUE:

an S-PLUS object as represented by XML in the input file.

REFERENCES:

http://www.w3.org/XML

SEE ALSO:

, .

EXAMPLES:

# Create and parse an XML file containing a list
x <- list(fuel.frame, hist, c(1:50))
xmlfile <- "list.xml"
annotation <- "An S-PLUS list"
createXMLFile(x, xmlfile, annotation, precision=5)
xx <- parseXMLFile(xmlfile)