Last Release: 3.96-1 (Wed Mar 27 11:27:38 PDT 2013)
Note: In version 2.4-0, there is a new approach to garbage collecting internal/C-level nodes and documents returned from, e.g. xmlParse(), getNodeSet(), xpathApply(), newXMLNode(). This endeavors to avoid freeing a document when there is an R variable refering to one of its nodes, and to garbage collect a document when all nodes are unreferenced. This has been tested and appears to work, however there may be some cases that we have not encountered. So if you encounter problems, please send me email.
This package provides facilities for the S language to
The source for the S package can be downloaded as XML_3.96-1.tar.gz.
There is also a Windows version available from the Omegahat repository. Use
install.packages("XML", repos = "http://www.omegahat.org/R")
Best practices for using the XML package
library(XML)
source(url("http://www.omegahat.org/RSXML/keyValueDB.R"))
o = readKeyValueDB("http://www.omegahat.org/RSXML/plist.xml")
A string
103
1000012310303
true
2011-02-10T11:29:03Z
]]>
library(XML)
source(url("http://www.omegahat.org/RSXML/solrDocs.R"))
o = readSolrDoc("http://www.omegahat.org/RSXML/solr.xml")